Changes in directory llvm/lib/VMCore:

AsmWriter.cpp updated: 1.210 -> 1.211
---
Log message:

Make the Value and Type methods print a newline so it prints nicely in gdb


---
Diffs of the changes:  (+2 -2)

 AsmWriter.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/VMCore/AsmWriter.cpp
diff -u llvm/lib/VMCore/AsmWriter.cpp:1.210 llvm/lib/VMCore/AsmWriter.cpp:1.211
--- llvm/lib/VMCore/AsmWriter.cpp:1.210 Sun Oct 22 01:06:56 2006
+++ llvm/lib/VMCore/AsmWriter.cpp       Fri Oct 27 13:58:54 2006
@@ -1357,11 +1357,11 @@
 
 // Value::dump - allow easy printing of  Values from the debugger.
 // Located here because so much of the needed functionality is here.
-void Value::dump() const { print(std::cerr); }
+void Value::dump() const { print(std::cerr); std::cerr << '\n'; }
 
 // Type::dump - allow easy printing of  Values from the debugger.
 // Located here because so much of the needed functionality is here.
-void Type::dump() const { print(std::cerr); }
+void Type::dump() const { print(std::cerr); std::cerr << '\n'; }
 
 
//===----------------------------------------------------------------------===//
 //  CachedWriter Class Implementation



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to