diff options
author | Scott Michel <scottm@aero.org> | 2008-06-03 06:18:19 +0000 |
---|---|---|
committer | Scott Michel <scottm@aero.org> | 2008-06-03 06:18:19 +0000 |
commit | 2c1d0550d65efb30a950cf42764aecac003e1970 (patch) | |
tree | 9a64c495378c6b0fd2e547ba56be74edab0341f7 /lib/CodeGen | |
parent | b0aff82fce97bec5a9e1a967699484bc01f4972c (diff) | |
download | external_llvm-2c1d0550d65efb30a950cf42764aecac003e1970.tar.gz external_llvm-2c1d0550d65efb30a950cf42764aecac003e1970.tar.bz2 external_llvm-2c1d0550d65efb30a950cf42764aecac003e1970.zip |
Revert this patch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51897 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/AsmPrinter.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/CodeGen/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter.cpp index 2e84a27b34..d225dbce9f 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 |