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:
7cfdd01
)
Back out my last check-in. Wrong place to fix it.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 1 Mar 2006 22:17:00 +0000
(22:17 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 1 Mar 2006 22:17:00 +0000
(22:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26462
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 6b644219e13ac306dd98d24e9960ea095deff419..cc8c5a12324fa78dc28f4b6182dad9ef83c3b160 100644
(file)
--- a/
lib/VMCore/AsmWriter.cpp
+++ b/
lib/VMCore/AsmWriter.cpp
@@
-1311,6
+1311,9
@@
void Constant::print(std::ostream &o) const {
if (this == 0) { o << "<null> constant value\n"; return; }
o << ' ' << getType()->getDescription() << ' ';
+
+ std::map<const Type *, std::string> TypeTable;
+ WriteConstantInt(o, this, false, TypeTable, 0);
}
void Type::print(std::ostream &o) const {