Skip to content

Commit ddb739e

Browse files
committed
[Async CC] Pass task along from caller to callee.
1 parent f73eff7 commit ddb739e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IRGen/GenCall.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2185,7 +2185,7 @@ class AsyncCallEmission final : public CallEmission {
21852185
void setArgs(Explosion &llArgs, bool isOutlined,
21862186
WitnessMetadata *witnessMetadata) override {
21872187
Explosion asyncExplosion;
2188-
asyncExplosion.add(llvm::Constant::getNullValue(IGF.IGM.SwiftTaskPtrTy));
2188+
asyncExplosion.add(IGF.getAsyncTask());
21892189
asyncExplosion.add(
21902190
llvm::Constant::getNullValue(IGF.IGM.SwiftExecutorPtrTy));
21912191
asyncExplosion.add(contextBuffer.getAddress());

0 commit comments

Comments
 (0)