aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Michel <scottm@aero.org>2008-06-03 06:18:19 +0000
committerScott Michel <scottm@aero.org>2008-06-03 06:18:19 +0000
commit4315eee376450972d111c8e263ca8aecc7a3a13b (patch)
tree9a64c495378c6b0fd2e547ba56be74edab0341f7
parent6d9861120ea5b6807a73a9134c6e65394d686213 (diff)
downloadexternal_llvm-4315eee376450972d111c8e263ca8aecc7a3a13b.zip
external_llvm-4315eee376450972d111c8e263ca8aecc7a3a13b.tar.gz
external_llvm-4315eee376450972d111c8e263ca8aecc7a3a13b.tar.bz2
Revert this patch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51897 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/AsmPrinter.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp
index 2e84a27..d225dbc 100644
--- a/lib/CodeGen/AsmPrinter.cpp
+++ b/lib/CodeGen/AsmPrinter.cpp
@@ -742,9 +742,7 @@ void AsmPrinter::EmitConstantValueOnly(const Constant *CV) {
if (CV->isNullValue() || isa<UndefValue>(CV))
O << "0";
else if (const ConstantInt *CI = dyn_cast<ConstantInt>(CV)) {
- O << CI->getZExtValue() << "\t\t\t"
- << TAI->getCommentString() << " 0x"
- << CI->getValue().toStringUnsigned(16);
+ O << CI->getZExtValue();
} else if (const GlobalValue *GV = dyn_cast<GlobalValue>(CV)) {
// This is a constant address for a global variable or function. Use the
// name of the variable or function as the address value, possibly