Skip to content

Commit 2ff6ea3

Browse files
committed
[Async CC] Pass executor along to callee.
1 parent ddb739e commit 2ff6ea3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/IRGen/GenCall.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2186,8 +2186,7 @@ class AsyncCallEmission final : public CallEmission {
21862186
WitnessMetadata *witnessMetadata) override {
21872187
Explosion asyncExplosion;
21882188
asyncExplosion.add(IGF.getAsyncTask());
2189-
asyncExplosion.add(
2190-
llvm::Constant::getNullValue(IGF.IGM.SwiftExecutorPtrTy));
2189+
asyncExplosion.add(IGF.getAsyncExecutor());
21912190
asyncExplosion.add(contextBuffer.getAddress());
21922191
if (getCallee().getRepresentation() ==
21932192
SILFunctionTypeRepresentation::Thick) {

0 commit comments

Comments
 (0)