summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/AsmWriter.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-03-01 22:17:00 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-03-01 22:17:00 +0000
commit5b19a80321970dc8e1473e3966c2da58d59c7834 (patch)
tree37cc9eb22904e6eb114e40afab143f5ed9955358 /llvm/lib/VMCore/AsmWriter.cpp
parent302bdb586f860767befca695010b562e71fdd3ad (diff)
downloadbcm5719-llvm-5b19a80321970dc8e1473e3966c2da58d59c7834.tar.gz
bcm5719-llvm-5b19a80321970dc8e1473e3966c2da58d59c7834.zip
Back out my last check-in. Wrong place to fix it.
llvm-svn: 26462
Diffstat (limited to 'llvm/lib/VMCore/AsmWriter.cpp')
-rw-r--r--llvm/lib/VMCore/AsmWriter.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp
index 6b644219e13..cc8c5a12324 100644
--- a/llvm/lib/VMCore/AsmWriter.cpp
+++ b/llvm/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 {
OpenPOWER on IntegriCloud