diff options
author | Dan Gohman <gohman@apple.com> | 2008-12-08 23:50:06 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-12-08 23:50:06 +0000 |
commit | 55fdaec36a0a2fac68d2f085c11fce22d2742db7 (patch) | |
tree | 2873408a3313bafe1b1fc2d4fb586ee4782adba7 /lib | |
parent | 51d8b669f16308c61ab920c0ab3e0ac83f494ba1 (diff) |
Fix a couple of mistaken switch case fall-throughs. Thanks to Bill
for spotting these!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60728 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/X86/X86FastISel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/X86/X86FastISel.cpp b/lib/Target/X86/X86FastISel.cpp index 04a26303dc..1b75cbcae4 100644 --- a/lib/Target/X86/X86FastISel.cpp +++ b/lib/Target/X86/X86FastISel.cpp @@ -332,11 +332,13 @@ bool X86FastISel::X86SelectAddress(Value *V, X86AddressMode &AM, bool isCall) { // Look past no-op inttoptrs. if (TLI.getValueType(U->getOperand(0)->getType()) == TLI.getPointerTy()) return X86SelectAddress(U->getOperand(0), AM, isCall); + break; case Instruction::PtrToInt: // Look past no-op ptrtoints. if (TLI.getValueType(U->getType()) == TLI.getPointerTy()) return X86SelectAddress(U->getOperand(0), AM, isCall); + break; case Instruction::Alloca: { if (isCall) break; |