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 86429c0 commit 78c595bCopy full SHA for 78c595b
lib/IRGen/GenCall.cpp
@@ -211,6 +211,7 @@ void IRGenFunction::setupAsync(unsigned asyncContextIndex) {
211
llvm::Value *IRGenFunction::getAsyncTask() {
212
auto call = Builder.CreateCall(IGM.getGetCurrentTaskFn(), {});
213
call->setDoesNotThrow();
214
+ call->setCallingConv(IGM.SwiftCC);
215
return call;
216
}
217
0 commit comments