mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-18 22:38:56 +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.
|
// guards against loops in the middle of a sequence.
|
||||||
if (SomeSuccHasSame && !AllSuccsHaveSame)
|
if (SomeSuccHasSame && !AllSuccsHaveSame)
|
||||||
S.ClearSequenceProgress();
|
S.ClearSequenceProgress();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
case S_CanRelease: {
|
case S_CanRelease: {
|
||||||
const Value *Arg = I->first;
|
const Value *Arg = I->first;
|
||||||
@ -2289,6 +2290,7 @@ ObjCARCOpt::CheckForCFGHazards(const BasicBlock *BB,
|
|||||||
// guards against loops in the middle of a sequence.
|
// guards against loops in the middle of a sequence.
|
||||||
if (SomeSuccHasSame && !AllSuccsHaveSame)
|
if (SomeSuccHasSame && !AllSuccsHaveSame)
|
||||||
S.ClearSequenceProgress();
|
S.ClearSequenceProgress();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user