mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +00:00
Convert CallInst and InvokeInst APIs to use ArrayRef.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135265 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -732,7 +732,7 @@ void MergeFunctions::writeThunk(Function *F, Function *G) {
|
||||
++i;
|
||||
}
|
||||
|
||||
CallInst *CI = Builder.CreateCall(F, Args.begin(), Args.end());
|
||||
CallInst *CI = Builder.CreateCall(F, Args);
|
||||
CI->setTailCall();
|
||||
CI->setCallingConv(F->getCallingConv());
|
||||
if (NewG->getReturnType()->isVoidTy()) {
|
||||
|
Reference in New Issue
Block a user