mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-15 07:59:50 +00:00
Missing break. Patch by Wojciech Matyjewicz.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41727 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
58c2e4c5fd
commit
df344febe2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user