mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
rename APInt::toString -> toStringUnsigned for symmetry with toStringSigned()
Add an APSInt::toString() method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41309 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -519,7 +519,7 @@ Function *ArgPromotion::DoPromotion(Function *F,
|
||||
std::string NewName = I->getName();
|
||||
for (unsigned i = 0, e = Operands.size(); i != e; ++i)
|
||||
if (ConstantInt *CI = dyn_cast<ConstantInt>(Operands[i]))
|
||||
NewName += "." + CI->getValue().toString(10);
|
||||
NewName += "." + CI->getValue().toStringUnsigned(10);
|
||||
else
|
||||
NewName += ".x";
|
||||
TheArg->setName(NewName+".val");
|
||||
|
Reference in New Issue
Block a user