Block renumbering

llvm-svn: 87056
This commit is contained in:
Jim Grosbach 2009-11-13 01:19:24 +00:00
parent 969910b3e8
commit 46a524c3e8
1 changed files with 1 additions and 3 deletions

View File

@ -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.