mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-05 14:34:55 +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);
|
||||
}
|
||||
bool BottomUpNestingDetected = false;
|
||||
while (!Order.empty()) {
|
||||
BasicBlock *BB = Order.pop_back_val();
|
||||
for (SmallVectorImpl<BasicBlock *>::const_reverse_iterator I =
|
||||
Order.rbegin(), E = Order.rend(); I != E; ++I) {
|
||||
BasicBlock *BB = *I;
|
||||
BottomUpNestingDetected |= VisitBottomUp(BB, BBStates, Retains);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user