Missing break. Patch by Wojciech Matyjewicz.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 5 Sep 2007 21:36:14 +0000 (21:36 +0000)
committerEvan 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

index c4aa3b535183494555469de2d1efd5cbefdc0918..82f3c57afd7c49e5a36d9817131df15f595b3bc5 100644 (file)
@@ -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;