Doh. Skip JT branches.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33501 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2007-01-25 19:43:52 +00:00
parent 338305b0b6
commit 743fa032a7

View 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;