diff options
author | Chris Lattner <sabre@nondot.org> | 2004-11-05 04:47:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-11-05 04:47:37 +0000 |
commit | c22ffc26b0a85c32aa254428b42e99748b424d8f (patch) | |
tree | 98b2ec07b45eaf8b70c631b583f9ab2ca8371f02 /llvm/lib | |
parent | 3c670cb65a8a64c16fae25f22449d6a66ac80a04 (diff) | |
download | bcm5719-llvm-c22ffc26b0a85c32aa254428b42e99748b424d8f.tar.gz bcm5719-llvm-c22ffc26b0a85c32aa254428b42e99748b424d8f.zip |
Do not make i have bigger scope that we need
llvm-svn: 17483
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocLinearScan.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp index 2a5898a89d0..3025d25f21b 100644 --- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp +++ b/llvm/lib/CodeGen/RegAllocLinearScan.cpp @@ -503,8 +503,8 @@ void RA::assignRegOrStackSlotAtInterval(LiveInterval* cur) // 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); |