mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-02 02:55:35 +00:00
Make it clear that this code is iterating in reverse order through the array.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137985 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
857fd8fcda
commit
b48ef3a3ec
@ -2596,8 +2596,9 @@ ObjCARCOpt::Visit(Function &F,
|
|||||||
Order.push_back(Stack.pop_back_val().first);
|
Order.push_back(Stack.pop_back_val().first);
|
||||||
}
|
}
|
||||||
bool BottomUpNestingDetected = false;
|
bool BottomUpNestingDetected = false;
|
||||||
while (!Order.empty()) {
|
for (SmallVectorImpl<BasicBlock *>::const_reverse_iterator I =
|
||||||
BasicBlock *BB = Order.pop_back_val();
|
Order.rbegin(), E = Order.rend(); I != E; ++I) {
|
||||||
|
BasicBlock *BB = *I;
|
||||||
BottomUpNestingDetected |= VisitBottomUp(BB, BBStates, Retains);
|
BottomUpNestingDetected |= VisitBottomUp(BB, BBStates, Retains);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user