From 743fa032a781c18a03e474e0a34f013598439ba5 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Thu, 25 Jan 2007 19:43:52 +0000 Subject: [PATCH] Doh. Skip JT branches. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33501 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMConstantIslandPass.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Target/ARM/ARMConstantIslandPass.cpp b/lib/Target/ARM/ARMConstantIslandPass.cpp index dccf8240a90..763a47cb44a 100644 --- a/lib/Target/ARM/ARMConstantIslandPass.cpp +++ b/lib/Target/ARM/ARMConstantIslandPass.cpp @@ -238,7 +238,8 @@ void ARMConstantIslands::InitialFunctionScan(MachineFunction &Fn, unsigned Scale = 1; int UOpc = Opc; switch (Opc) { - default: break; // Ignore JT branches + default: + continue; // Ignore JT branches case ARM::Bcc: isCond = true; UOpc = ARM::B; -- 2.34.1