From a4ffcc23a268cf9b74a74035a92c9a3c4a753214 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 1 Mar 2006 22:17:00 +0000 Subject: [PATCH] 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 --- lib/VMCore/AsmWriter.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 6b644219e13..cc8c5a12324 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 << " constant value\n"; return; } o << ' ' << getType()->getDescription() << ' '; + + std::map TypeTable; + WriteConstantInt(o, this, false, TypeTable, 0); } void Type::print(std::ostream &o) const {