diff options
-rw-r--r-- | lib/Target/ARM/ARMConstantIslandPass.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMConstantIslandPass.cpp b/lib/Target/ARM/ARMConstantIslandPass.cpp index 1491569..5f2c902 100644 --- a/lib/Target/ARM/ARMConstantIslandPass.cpp +++ b/lib/Target/ARM/ARMConstantIslandPass.cpp @@ -1378,8 +1378,6 @@ bool ARMConstantIslands::OptimizeThumb2JumpTables(MachineFunction &MF) { if (ByteOk && (DstOffset - JTOffset) > ((1<<8)-1)*2) ByteOk = false; unsigned TBHLimit = ((1<<16)-1)*2; - if (STI->isTargetDarwin()) - TBHLimit >>= 1; // FIXME: Work around an assembler bug. if (HalfWordOk && (DstOffset - JTOffset) > TBHLimit) HalfWordOk = false; if (!ByteOk && !HalfWordOk) |