[llvm-commits] CVS: llvm/lib/Target/ARM/ARMConstantIslandPass.cpp

Evan Cheng evan.cheng at apple.com
Thu Jan 25 15:31:20 PST 2007



Changes in directory llvm/lib/Target/ARM:

ARMConstantIslandPass.cpp updated: 1.5 -> 1.6
---
Log message:

Forgot to update this.

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

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


Index: llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
diff -u llvm/lib/Target/ARM/ARMConstantIslandPass.cpp:1.5 llvm/lib/Target/ARM/ARMConstantIslandPass.cpp:1.6
--- llvm/lib/Target/ARM/ARMConstantIslandPass.cpp:1.5	Thu Jan 25 17:18:59 2007
+++ llvm/lib/Target/ARM/ARMConstantIslandPass.cpp	Thu Jan 25 17:31:04 2007
@@ -613,7 +613,7 @@
   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.






More information about the llvm-commits mailing list