Changes in directory llvm/lib/Target/ARM:

ARMConstantIslandPass.cpp updated: 1.3 -> 1.4
---
Log message:

Doh. Skip JT branches.

---
Diffs of the changes:  (+2 -1)

 ARMConstantIslandPass.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
diff -u llvm/lib/Target/ARM/ARMConstantIslandPass.cpp:1.3 
llvm/lib/Target/ARM/ARMConstantIslandPass.cpp:1.4
--- llvm/lib/Target/ARM/ARMConstantIslandPass.cpp:1.3   Wed Jan 24 21:12:46 2007
+++ llvm/lib/Target/ARM/ARMConstantIslandPass.cpp       Thu Jan 25 13:43:52 2007
@@ -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;



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to