Do not make i have bigger scope that we need

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17483 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-11-05 04:47:37 +00:00
parent 183f2eb860
commit 41ffe4b531

View File

@ -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);