From: Benjamin Kramer Date: Wed, 2 Nov 2011 17:24:36 +0000 (+0000) Subject: Don't print two 0x prefixes when printing an address. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=5a83264fa26eb573ef25b2db0cafbeef3eeb54c8;p=oota-llvm.git Don't print two 0x prefixes when printing an address. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143549 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 18308f27cfe..d7863f5d326 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -231,7 +231,7 @@ void TypePrinting::print(Type *Ty, raw_ostream &OS) { 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: {