[llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Jul 27 16:03:50 PDT 2005



Changes in directory llvm/lib/CodeGen:

LiveIntervalAnalysis.cpp updated: 1.141 -> 1.142
---
Log message:

Print symbolic register names in debug dumps


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

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


Index: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff -u llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.141 llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.142
--- llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.141	Sat May 14 00:34:15 2005
+++ llvm/lib/CodeGen/LiveIntervalAnalysis.cpp	Wed Jul 27 18:03:38 2005
@@ -206,8 +206,10 @@
 /// print - Implement the dump method.
 void LiveIntervals::print(std::ostream &O, const Module* ) const {
   O << "********** INTERVALS **********\n";
-  for (const_iterator I = begin(), E = end(); I != E; ++I)
-    O << "  " << I->second << "\n";
+  for (const_iterator I = begin(), E = end(); I != E; ++I) {
+    I->second.print(std::cerr, mri_);
+    std::cerr << "\n";
+  }
 
   O << "********** MACHINEINSTRS **********\n";
   for (MachineFunction::iterator mbbi = mf_->begin(), mbbe = mf_->end();






More information about the llvm-commits mailing list