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

Chris Lattner lattner at persephone.cs.uiuc.edu
Thu Nov 4 22:47:53 CST 2004



Changes in directory llvm/lib/CodeGen:

RegAllocLinearScan.cpp updated: 1.96 -> 1.97
---
Log message:

Do not make i have bigger scope that we need


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

Index: llvm/lib/CodeGen/RegAllocLinearScan.cpp
diff -u llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.96 llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.97
--- llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.96	Wed Sep 29 21:02:33 2004
+++ llvm/lib/CodeGen/RegAllocLinearScan.cpp	Thu Nov  4 22:47:37 2004
@@ -503,8 +503,8 @@
   // scan the rest and undo each interval that expired after t and
   // insert it in active (the next iteration of the algorithm will
   // put it in inactive if required)
-  IntervalPtrs::iterator i = handled_.begin(), e = handled_.end();
-  for (; i != e; ++i) {
+  for (IntervalPtrs::iterator i = handled_.begin(), e = handled_.end(); 
+       i != e; ++i) {
     if (!(*i)->expiredAt(earliestStart) && (*i)->expiredAt(cur->start())) {
       DEBUG(std::cerr << "\t\t\tundo changes for: " << **i << '\n');
       active_.push_back(*i);






More information about the llvm-commits mailing list