From 9e5cc22129f6ac0ef666bd015e8109eaf11610c8 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 8 Dec 2008 23:50:06 +0000 Subject: [PATCH] Fix a couple of mistaken switch case fall-throughs. Thanks to Bill for spotting these! llvm-svn: 60728 --- lib/Target/X86/X86FastISel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Target/X86/X86FastISel.cpp b/lib/Target/X86/X86FastISel.cpp index 04a26303dcf..1b75cbcae43 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;