aboutsummaryrefslogtreecommitdiff
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
commita4ffcc23a268cf9b74a74035a92c9a3c4a753214 (patch)
tree659d14ff52935abc7b8ebdadf6601e173bcee772
parent7cfdd01869c1f8f32d9bcac32cf1a6dde7c88b28 (diff)
Back out my last check-in. Wrong place to fix it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26462 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/VMCore/AsmWriter.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp
index 6b644219e1..cc8c5a1232 100644
--- 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 {