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
This commit is contained in:
Benjamin Kramer 2011-11-02 17:24:36 +00:00
parent 05a484b909
commit 5a83264fa2

View File

@ -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: {