mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-05 12:31:33 +00:00
Fix a typo/thinko.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40599 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
be444ed6db
commit
ed3fa8552a
@ -7974,7 +7974,7 @@ bool InstCombiner::transformConstExprCastCall(CallSite CS) {
|
||||
if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) {
|
||||
NC = new InvokeInst(Callee, II->getNormalDest(), II->getUnwindDest(),
|
||||
&Args[0], Args.size(), Caller->getName(), Caller);
|
||||
cast<InvokeInst>(II)->setCallingConv(II->getCallingConv());
|
||||
cast<InvokeInst>(NC)->setCallingConv(II->getCallingConv());
|
||||
} else {
|
||||
NC = new CallInst(Callee, &Args[0], Args.size(), Caller->getName(), Caller);
|
||||
if (cast<CallInst>(Caller)->isTailCall())
|
||||
|
Loading…
Reference in New Issue
Block a user