mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 04:29:21 +00:00
Make sure to include name information if we have it
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4481 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e6f960a512
commit
a145d4188c
@ -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…
Reference in New Issue
Block a user