@@ -319,8 +319,7 @@ class alignas(8) Expr : public ASTAllocated<Expr> {
319
319
ImplicitlyAsync : 1 ,
320
320
ImplicitlyThrows : 1 ,
321
321
NoAsync : 1 ,
322
- ShouldApplyDistributedThunk : 1 ,
323
- ShouldApplyDistributedLocalThunk : 1
322
+ ShouldApplyDistributedThunk : 1
324
323
);
325
324
326
325
SWIFT_INLINE_BITFIELD_EMPTY (CallExpr, ApplyExpr);
@@ -4447,7 +4446,6 @@ class ApplyExpr : public Expr {
4447
4446
Bits.ApplyExpr .ImplicitlyThrows = false ;
4448
4447
Bits.ApplyExpr .NoAsync = false ;
4449
4448
Bits.ApplyExpr .ShouldApplyDistributedThunk = false ;
4450
- Bits.ApplyExpr .ShouldApplyDistributedLocalThunk = false ;
4451
4449
}
4452
4450
4453
4451
public:
@@ -4538,24 +4536,9 @@ class ApplyExpr : public Expr {
4538
4536
return Bits.ApplyExpr .ShouldApplyDistributedThunk ;
4539
4537
}
4540
4538
void setShouldApplyDistributedThunk (bool flag) {
4541
- if (flag) {
4542
- setShouldApplyDistributedLocalThunk (false );
4543
- }
4544
4539
Bits.ApplyExpr .ShouldApplyDistributedThunk = flag;
4545
4540
}
4546
4541
4547
- // / Informs IRGen to that this expression should be applied as its distributed
4548
- // / local thunk, rather than invoking the function directly.
4549
- bool shouldApplyDistributedLocalThunk () const {
4550
- return Bits.ApplyExpr .ShouldApplyDistributedLocalThunk ;
4551
- }
4552
- void setShouldApplyDistributedLocalThunk (bool flag) {
4553
- if (flag) {
4554
- setShouldApplyDistributedThunk (false );
4555
- }
4556
- Bits.ApplyExpr .ShouldApplyDistributedLocalThunk = flag;
4557
- }
4558
-
4559
4542
ValueDecl *getCalledValue () const ;
4560
4543
4561
4544
static bool classof (const Expr *E) {
0 commit comments