aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-09-05 21:36:14 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-09-05 21:36:14 +0000
commitdf344febe27b8fa68424032c4181e494307d6eaf (patch)
tree9686a918b80b30542e997ca01dc57048a8dbb8a0 /lib
parent58c2e4c5fdf8f9b275037e8b8d7fd64d56719fe6 (diff)
downloadexternal_llvm-df344febe27b8fa68424032c4181e494307d6eaf.zip
external_llvm-df344febe27b8fa68424032c4181e494307d6eaf.tar.gz
external_llvm-df344febe27b8fa68424032c4181e494307d6eaf.tar.bz2
Missing break. Patch by Wojciech Matyjewicz.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41727 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Analysis/BasicAliasAnalysis.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Analysis/BasicAliasAnalysis.cpp b/lib/Analysis/BasicAliasAnalysis.cpp
index c4aa3b5..82f3c57 100644
--- a/lib/Analysis/BasicAliasAnalysis.cpp
+++ b/lib/Analysis/BasicAliasAnalysis.cpp
@@ -220,6 +220,7 @@ static bool AddressMightEscape(const Value *V) {
case Instruction::GetElementPtr:
if (AddressMightEscape(I))
return true;
+ break; // next use.
case Instruction::BitCast:
if (!isa<PointerType>(I->getType()))
return true;