summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMConstantIslandPass.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-01-25 23:31:04 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-01-25 23:31:04 +0000
commita0bf794eb60b6795a121efcb9ff759e9e0955772 (patch)
tree7e20747ac68e7324765321b5e32cd523be12a509 /lib/Target/ARM/ARMConstantIslandPass.cpp
parent4d447f512122a8c3784f4ab2c55b4b1be47db82e (diff)
downloadllvm-a0bf794eb60b6795a121efcb9ff759e9e0955772.tar.gz
llvm-a0bf794eb60b6795a121efcb9ff759e9e0955772.tar.bz2
llvm-a0bf794eb60b6795a121efcb9ff759e9e0955772.tar.xz
Forgot to update this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33512 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMConstantIslandPass.cpp')
-rw-r--r--lib/Target/ARM/ARMConstantIslandPass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMConstantIslandPass.cpp b/lib/Target/ARM/ARMConstantIslandPass.cpp
index b779093f99..db30428d96 100644
--- a/lib/Target/ARM/ARMConstantIslandPass.cpp
+++ b/lib/Target/ARM/ARMConstantIslandPass.cpp
@@ -613,7 +613,7 @@ ARMConstantIslands::FixUpImmediateBranch(MachineFunction &Fn, ImmBranch &Br) {
Br.MI = &MBB->back();
BuildMI(MBB, TII->get(Br.UncondBr)).addMBB(DestBB);
unsigned MaxDisp = (Br.UncondBr == ARM::tB) ? (1<<10)*2 : (1<<23)*4;
- ImmBranches.push_back(ImmBranch(&MBB->back(), false, Br.UncondBr, MaxDisp));
+ ImmBranches.push_back(ImmBranch(&MBB->back(), MaxDisp, false, Br.UncondBr));
MI->eraseFromParent();
// Increase the size of MBB to account for the new unconditional branch.