Avoid naming things exactly the same

llvm-svn: 5966
This commit is contained in:
Chris Lattner 2003-04-27 22:55:56 +00:00
parent cb2434d38d
commit 4a6c3e79b0
1 changed files with 1 additions and 1 deletions

View File

@ -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,