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:
58c2e4c
)
Missing break. Patch by Wojciech Matyjewicz.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 5 Sep 2007 21:36:14 +0000
(21:36 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 5 Sep 2007 21:36:14 +0000
(21:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41727
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/BasicAliasAnalysis.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/BasicAliasAnalysis.cpp
b/lib/Analysis/BasicAliasAnalysis.cpp
index c4aa3b535183494555469de2d1efd5cbefdc0918..82f3c57afd7c49e5a36d9817131df15f595b3bc5 100644
(file)
--- 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;
case Instruction::GetElementPtr:
if (AddressMightEscape(I))
return true;
+ break; // next use.
case Instruction::BitCast:
if (!isa<PointerType>(I->getType()))
return true;
case Instruction::BitCast:
if (!isa<PointerType>(I->getType()))
return true;