File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -3001,13 +3001,6 @@ class ValueDecl : public Decl {
3001
3001
// / `distributed var get { }` accessors.
3002
3002
bool isDistributedGetAccessor () const ;
3003
3003
3004
- // / Is this a 'distributed thunk'?
3005
- // /
3006
- // / Distributed thunks are synthesized functions which perform the "is remote?"
3007
- // / check, before dispatching to a 'system.remoteCall' (if actor was remote).
3008
- // / They are always 'async' and 'throws'.
3009
- bool isDistributedThunk () const ;
3010
-
3011
3004
bool hasName () const { return bool (Name); }
3012
3005
bool isOperator () const { return Name.isOperator (); }
3013
3006
Original file line number Diff line number Diff line change @@ -1369,13 +1369,6 @@ bool ValueDecl::isDistributedGetAccessor() const {
1369
1369
return false ;
1370
1370
}
1371
1371
1372
- bool ValueDecl::isDistributedThunk () const {
1373
- if (auto func = dyn_cast<AbstractFunctionDecl>(this )) {
1374
- return func->isDistributedThunk ();
1375
- }
1376
- return false ;
1377
- }
1378
-
1379
1372
ConstructorDecl *
1380
1373
NominalTypeDecl::getDistributedRemoteCallTargetInitFunction () const {
1381
1374
auto mutableThis = const_cast <NominalTypeDecl *>(this );
You can’t perform that action at this time.
0 commit comments