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 a69bf1d commit 1f06a79Copy full SHA for 1f06a79
lib/IRGen/GenCall.cpp
@@ -230,6 +230,7 @@ void IRGenFunction::setupAsync(unsigned asyncContextIndex) {
230
llvm::Value *IRGenFunction::getAsyncTask() {
231
auto call = Builder.CreateCall(IGM.getGetCurrentTaskFn(), {});
232
call->setDoesNotThrow();
233
+ call->setCallingConv(IGM.SwiftCC);
234
return call;
235
}
236
0 commit comments