Changes in directory llvm/lib/VMCore:
AsmWriter.cpp updated: 1.261 -> 1.262 --- Log message: Allow the AsmWriter to print out arbitrary precision integers. --- Diffs of the changes: (+1 -1) AsmWriter.cpp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/VMCore/AsmWriter.cpp diff -u llvm/lib/VMCore/AsmWriter.cpp:1.261 llvm/lib/VMCore/AsmWriter.cpp:1.262 --- llvm/lib/VMCore/AsmWriter.cpp:1.261 Wed Feb 14 20:26:10 2007 +++ llvm/lib/VMCore/AsmWriter.cpp Tue Feb 27 02:34:09 2007 @@ -464,7 +464,7 @@ if (CI->getType() == Type::Int1Ty) Out << (CI->getZExtValue() ? "true" : "false"); else - Out << CI->getSExtValue(); + Out << CI->getValue().toString(10,/*wantSigned=*/true); } else if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) { // We would like to output the FP constant value in exponential notation, // but we cannot do this if doing so will lose precision. Check here to _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits