projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05a484b
)
Don't print two 0x prefixes when printing an address.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Wed, 2 Nov 2011 17:24:36 +0000
(17:24 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Wed, 2 Nov 2011 17:24:36 +0000
(17:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143549
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/AsmWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/AsmWriter.cpp
b/lib/VMCore/AsmWriter.cpp
index 18308f27cfe4bc092aa45afebe27c257716148e1..d7863f5d326b52f995a1c0a40e33b7477dc031eb 100644
(file)
--- 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: {