mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-30 19:35:54 +00:00
Use range for
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209147 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9bb7f7c390
commit
234227f375
@ -454,10 +454,7 @@ void StructurizeCFG::insertConditions(bool Loops) {
|
||||
Value *Default = Loops ? BoolTrue : BoolFalse;
|
||||
SSAUpdater PhiInserter;
|
||||
|
||||
for (BranchVector::iterator I = Conds.begin(),
|
||||
E = Conds.end(); I != E; ++I) {
|
||||
|
||||
BranchInst *Term = *I;
|
||||
for (BranchInst *Term : Conds) {
|
||||
assert(Term->isConditional());
|
||||
|
||||
BasicBlock *Parent = Term->getParent();
|
||||
|
Loading…
x
Reference in New Issue
Block a user