We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f73eff7 commit ddb739eCopy full SHA for ddb739e
lib/IRGen/GenCall.cpp
@@ -2185,7 +2185,7 @@ class AsyncCallEmission final : public CallEmission {
2185
void setArgs(Explosion &llArgs, bool isOutlined,
2186
WitnessMetadata *witnessMetadata) override {
2187
Explosion asyncExplosion;
2188
- asyncExplosion.add(llvm::Constant::getNullValue(IGF.IGM.SwiftTaskPtrTy));
+ asyncExplosion.add(IGF.getAsyncTask());
2189
asyncExplosion.add(
2190
llvm::Constant::getNullValue(IGF.IGM.SwiftExecutorPtrTy));
2191
asyncExplosion.add(contextBuffer.getAddress());
0 commit comments