mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-13 08:35:46 +00:00
Fix omitted break statements in a switch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146380 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9b02741d22
commit
2e68beb36a
@ -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…
x
Reference in New Issue
Block a user