mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Fix omitted break statements in a switch.
llvm-svn: 146380
This commit is contained in:
parent
da73ce34a1
commit
3ebb9f4498
@ -2255,6 +2255,7 @@ ObjCARCOpt::CheckForCFGHazards(const BasicBlock *BB,
|
||||
// guards against loops in the middle of a sequence.
|
||||
if (SomeSuccHasSame && !AllSuccsHaveSame)
|
||||
S.ClearSequenceProgress();
|
||||
break;
|
||||
}
|
||||
case S_CanRelease: {
|
||||
const Value *Arg = I->first;
|
||||
@ -2289,6 +2290,7 @@ ObjCARCOpt::CheckForCFGHazards(const BasicBlock *BB,
|
||||
// guards against loops in the middle of a sequence.
|
||||
if (SomeSuccHasSame && !AllSuccsHaveSame)
|
||||
S.ClearSequenceProgress();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user