[llvm-commits] [llvm] r143549 - /llvm/trunk/lib/VMCore/AsmWriter.cpp
Benjamin Kramer
benny.kra at googlemail.com
Wed Nov 2 10:24:36 PDT 2011
Author: d0k
Date: Wed Nov 2 12:24:36 2011
New Revision: 143549
URL: http://llvm.org/viewvc/llvm-project?rev=143549&view=rev
Log:
Don't print two 0x prefixes when printing an address.
Modified:
llvm/trunk/lib/VMCore/AsmWriter.cpp
Modified: llvm/trunk/lib/VMCore/AsmWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/AsmWriter.cpp?rev=143549&r1=143548&r2=143549&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/AsmWriter.cpp (original)
+++ llvm/trunk/lib/VMCore/AsmWriter.cpp Wed Nov 2 12:24:36 2011
@@ -231,7 +231,7 @@
if (I != NumberedTypes.end())
OS << '%' << I->second;
else // Not enumerated, print the hex address.
- OS << "%\"type 0x" << STy << '\"';
+ OS << "%\"type " << STy << '\"';
return;
}
case Type::PointerTyID: {
More information about the llvm-commits
mailing list