Doh. Skip JT branches.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 25 Jan 2007 19:43:52 +0000 (19:43 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 25 Jan 2007 19:43:52 +0000 (19:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33501 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMConstantIslandPass.cpp

index dccf8240a90faf0d3ac8852ab9fb9a2bd67ddf47..763a47cb44add198b0cb407bbe70b01394c2bf79 100644 (file)
@@ -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;