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 @@ -3045,13 +3045,6 @@ class ValueDecl : public Decl {
3045
3045
// / `distributed var get { }` accessors.
3046
3046
bool isDistributedGetAccessor () const ;
3047
3047
3048
- // / Is this a 'distributed thunk'?
3049
- // /
3050
- // / Distributed thunks are synthesized functions which perform the "is remote?"
3051
- // / check, before dispatching to a 'system.remoteCall' (if actor was remote).
3052
- // / They are always 'async' and 'throws'.
3053
- bool isDistributedThunk () const ;
3054
-
3055
3048
bool hasName () const { return bool (Name); }
3056
3049
bool isOperator () const { return Name.isOperator (); }
3057
3050
Original file line number Diff line number Diff line change @@ -1367,13 +1367,6 @@ bool ValueDecl::isDistributedGetAccessor() const {
1367
1367
return false ;
1368
1368
}
1369
1369
1370
- bool ValueDecl::isDistributedThunk () const {
1371
- if (auto func = dyn_cast<AbstractFunctionDecl>(this )) {
1372
- return func->isDistributedThunk ();
1373
- }
1374
- return false ;
1375
- }
1376
-
1377
1370
ConstructorDecl *
1378
1371
NominalTypeDecl::getDistributedRemoteCallTargetInitFunction () const {
1379
1372
auto mutableThis = const_cast <NominalTypeDecl *>(this );
You can’t perform that action at this time.
0 commit comments