commit | 743fa032a781c18a03e474e0a34f013598439ba5 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Thu Jan 25 19:43:52 2007 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Thu Jan 25 19:43:52 2007 +0000 |
tree | 649dbd82d31fe0c93d29f3b0c19ed840a1fed063 | |
parent | 338305b0b6ce21ad2ef0c883afe78d42b4b2911d [diff] [blame] |
Doh. Skip JT branches. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33501 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/ARM/ARMConstantIslandPass.cpp b/lib/Target/ARM/ARMConstantIslandPass.cpp index dccf824..763a47c 100644 --- a/lib/Target/ARM/ARMConstantIslandPass.cpp +++ b/lib/Target/ARM/ARMConstantIslandPass.cpp
@@ -238,7 +238,8 @@ 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;