mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-11 07:18:44 +00:00
Make sure to include name information if we have it
llvm-svn: 4481
This commit is contained in:
parent
cb389fcb57
commit
d94208782e
@ -1134,7 +1134,8 @@ static void ConvertOperandToType(User *U, Value *OldVal, Value *NewVal,
|
||||
// Create a cast to convert it to the right type, we know that this
|
||||
// is a lossless cast...
|
||||
//
|
||||
Params[i] = new CastInst(Params[i], PTs[i], "call.resolve.cast", It);
|
||||
Params[i] = new CastInst(Params[i], PTs[i], "callarg.cast." +
|
||||
Params[i]->getName(), It);
|
||||
}
|
||||
Meth = NewVal; // Update call destination to new value
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user