mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Do not make i have bigger scope that we need
llvm-svn: 17483
This commit is contained in:
parent
b5ff07e46e
commit
bde92f3c03
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user