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

Alkis Evlogimenos alkis at niobe.cs.uiuc.edu
Fri Feb 20 00:53:21 PST 2004


Changes in directory llvm/lib/CodeGen:

RegAllocLinearScan.cpp updated: 1.53 -> 1.54

---
Log message:

Fix crash in debug output.


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

Index: llvm/lib/CodeGen/RegAllocLinearScan.cpp
diff -u llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.53 llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.54
--- llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.53	Fri Feb 20 00:29:51 2004
+++ llvm/lib/CodeGen/RegAllocLinearScan.cpp	Fri Feb 20 00:41:12 2004
@@ -735,7 +735,7 @@
                     DEBUG(std::cerr << "\t\t\t\tadded store for reg" << li->reg
                           << " to ss#" << slot << " after: \t\t"
                           << LiveIntervals::getBaseIndex(index) << " \t";
-                          prior(mi,2)->print(std::cerr, *tm_));
+                          mi->print(std::cerr, *tm_));
                 }
             }
         }





More information about the llvm-commits mailing list