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

Chris Lattner lattner at cs.uiuc.edu
Fri Oct 1 12:01:53 PDT 2004



Changes in directory llvm/lib/CodeGen:

LiveIntervalAnalysis.cpp updated: 1.128 -> 1.129
---
Log message:

Pretty print a bit nicer :)


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

Index: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff -u llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.128 llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.129
--- llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.128	Thu Sep 30 11:10:45 2004
+++ llvm/lib/CodeGen/LiveIntervalAnalysis.cpp	Fri Oct  1 14:01:39 2004
@@ -172,7 +172,7 @@
 void LiveIntervals::print(std::ostream &O) const {
   O << "********** INTERVALS **********\n";
   for (const_iterator I = begin(), E = end(); I != E; ++I)
-    O << I->second << "\n";
+    O << "  " << I->second << "\n";
 
   O << "********** MACHINEINSTRS **********\n";
   for (MachineFunction::iterator mbbi = mf_->begin(), mbbe = mf_->end();
@@ -185,7 +185,6 @@
   }
 }
 
-
 std::vector<LiveInterval*> LiveIntervals::
 addIntervalsForSpills(const LiveInterval &li, VirtRegMap &vrm, int slot) {
   // since this is called after the analysis is done we don't know if






More information about the llvm-commits mailing list