projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b02741
)
Fix omitted break statements in a switch.
author
Dan Gohman
<gohman@apple.com>
Mon, 12 Dec 2011 18:13:53 +0000
(18:13 +0000)
committer
Dan Gohman
<gohman@apple.com>
Mon, 12 Dec 2011 18:13:53 +0000
(18:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146380
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/ObjCARC.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/ObjCARC.cpp
b/lib/Transforms/Scalar/ObjCARC.cpp
index 80f5f014c848260e5d87c14a7e707eaf84067e89..5444534cbfc97e72497c799e3579be38191eed15 100644
(file)
--- a/
lib/Transforms/Scalar/ObjCARC.cpp
+++ b/
lib/Transforms/Scalar/ObjCARC.cpp
@@
-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;
}
}
}