diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-03-01 22:17:00 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-03-01 22:17:00 +0000 |
commit | 5b19a80321970dc8e1473e3966c2da58d59c7834 (patch) | |
tree | 37cc9eb22904e6eb114e40afab143f5ed9955358 /llvm/lib/VMCore/AsmWriter.cpp | |
parent | 302bdb586f860767befca695010b562e71fdd3ad (diff) | |
download | bcm5719-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.cpp | 3 |
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 { |