[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

Evan Cheng evan.cheng at apple.com
Wed Mar 1 14:17:11 PST 2006



Changes in directory llvm/lib/VMCore:

AsmWriter.cpp updated: 1.195 -> 1.196
---
Log message:

Back out my last check-in. Wrong place to fix it.


---
Diffs of the changes:  (+3 -0)

 AsmWriter.cpp |    3 +++
 1 files changed, 3 insertions(+)


Index: llvm/lib/VMCore/AsmWriter.cpp
diff -u llvm/lib/VMCore/AsmWriter.cpp:1.195 llvm/lib/VMCore/AsmWriter.cpp:1.196
--- llvm/lib/VMCore/AsmWriter.cpp:1.195	Wed Mar  1 16:00:59 2006
+++ llvm/lib/VMCore/AsmWriter.cpp	Wed Mar  1 16:17:00 2006
@@ -1311,6 +1311,9 @@
   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 {






More information about the llvm-commits mailing list