mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +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:
@@ -454,10 +454,7 @@ void StructurizeCFG::insertConditions(bool Loops) {
|
|||||||
Value *Default = Loops ? BoolTrue : BoolFalse;
|
Value *Default = Loops ? BoolTrue : BoolFalse;
|
||||||
SSAUpdater PhiInserter;
|
SSAUpdater PhiInserter;
|
||||||
|
|
||||||
for (BranchVector::iterator I = Conds.begin(),
|
for (BranchInst *Term : Conds) {
|
||||||
E = Conds.end(); I != E; ++I) {
|
|
||||||
|
|
||||||
BranchInst *Term = *I;
|
|
||||||
assert(Term->isConditional());
|
assert(Term->isConditional());
|
||||||
|
|
||||||
BasicBlock *Parent = Term->getParent();
|
BasicBlock *Parent = Term->getParent();
|
||||||
|
Reference in New Issue
Block a user