mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge remote-tracking branch 'origin/master' into master-next
This commit is contained in:
@@ -2059,6 +2059,7 @@ static void emitDynamicallyReplaceableThunk(IRGenModule &IGM,
|
||||
forwardedArgs.push_back(&arg);
|
||||
auto *Res =
|
||||
B.CreateCall(FunctionPointer(typeFnPtr, signature), forwardedArgs);
|
||||
Res->setTailCall();
|
||||
if (implFn->getReturnType()->isVoidTy())
|
||||
B.CreateRetVoid();
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user