diff options
Diffstat (limited to 'llvm/lib/Target/ARM/ARMConstantIslandPass.cpp')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMConstantIslandPass.cpp | 4 | 
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp b/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp index 8f46c6b35c0..e5ba8ba298b 100644 --- a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp +++ b/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp @@ -1804,9 +1804,7 @@ AdjustJTTargetBlockForward(MachineBasicBlock *BB, MachineBasicBlock *JTBB)    JTBB->addSuccessor(NewBB);    // Update internal data structures to account for the newly inserted MBB. -  // This is almost the same as UpdateForInsertedWaterBlock, except that -  // the Water goes after OrigBB, not NewBB. -  MF.RenumberBlocks(NewBB); +  MF.RenumberBlocks();    // Insert a size into BBSizes to align it properly with the (newly    // renumbered) block numbers.  | 

