mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Avoid naming things exactly the same
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5966 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ac0ec635e6
commit
b53a198613
@ -505,7 +505,7 @@ bool RPR::PeepholeOptimize(BasicBlock *BB, BasicBlock::iterator &BI) {
|
||||
|
||||
// Create a new cast, inserting it right before the function call...
|
||||
CastInst *NewCast = new CastInst(CI->getCalledValue(), NewPFunTy,
|
||||
CI->getCalledValue()->getName(), CI);
|
||||
CI->getCalledValue()->getName()+"_c",CI);
|
||||
|
||||
// Create a new call instruction...
|
||||
CallInst *NewCall = new CallInst(NewCast,
|
||||
|
Loading…
Reference in New Issue
Block a user