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

Chris Lattner lattner at cs.uiuc.edu
Sat Jul 24 22:44:03 PDT 2004



Changes in directory llvm/lib/CodeGen:

LiveInterval.cpp updated: 1.7 -> 1.8

---
Log message:

Fix a bug in the range remover


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

Index: llvm/lib/CodeGen/LiveInterval.cpp
diff -u llvm/lib/CodeGen/LiveInterval.cpp:1.7 llvm/lib/CodeGen/LiveInterval.cpp:1.8
--- llvm/lib/CodeGen/LiveInterval.cpp:1.7	Sat Jul 24 06:44:15 2004
+++ llvm/lib/CodeGen/LiveInterval.cpp	Sun Jul 25 00:43:53 2004
@@ -223,7 +223,7 @@
   // Otherwise if the span we are removing is at the end of the LiveRange,
   // adjust the other way.
   if (I->end == End) {
-    I->start = Start;
+    I->end = Start;
     return;
   }
 





More information about the llvm-commits mailing list