summaryrefslogtreecommitdiffstats
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
commit1d138989f4cd508d54dd556ec4f8ca00c2c03c63 (patch)
tree8ac6e6aebf37fb4eefb26d1eaabcf693d424ec9a
parent5292e65791d89ffb3f40dda4631104e3a0ed1040 (diff)
downloadbcm5719-llvm-1d138989f4cd508d54dd556ec4f8ca00c2c03c63.tar.gz
bcm5719-llvm-1d138989f4cd508d54dd556ec4f8ca00c2c03c63.zip
Forgot to update this.
llvm-svn: 33512
-rw-r--r--llvm/lib/Target/ARM/ARMConstantIslandPass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp b/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
index b779093f992..db30428d96e 100644
--- a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud