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 | 499c119d7cb92b88f470c6579f6c2319853ad6ba (patch) | |
tree | 2d878cf8a259e39b680062cd2a783a54a3bc1894 /llvm/lib | |
parent | f4fee9e1e5ed46a5e54ea2fd4ccb69e1bb4055c3 (diff) | |
download | bcm5719-llvm-499c119d7cb92b88f470c6579f6c2319853ad6ba.tar.gz bcm5719-llvm-499c119d7cb92b88f470c6579f6c2319853ad6ba.zip |
Revert this patch
llvm-svn: 51897
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter.cpp index 2e84a27b34e..d225dbce9fe 100644 --- a/llvm/lib/CodeGen/AsmPrinter.cpp +++ b/llvm/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 |