aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2009-11-13 01:19:24 +0000
committerJim Grosbach <grosbach@apple.com>2009-11-13 01:19:24 +0000
commitc1a07be185d50fb3201782e4c832356f612480fb (patch)
tree4a8684cb15feba196545ae7d617d9262f4661b85 /lib/Target
parentf4cbc0e421174de0eb38fb1ec46deddb082536d5 (diff)
downloadexternal_llvm-c1a07be185d50fb3201782e4c832356f612480fb.zip
external_llvm-c1a07be185d50fb3201782e4c832356f612480fb.tar.gz
external_llvm-c1a07be185d50fb3201782e4c832356f612480fb.tar.bz2
Block renumbering
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@87056 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/ARM/ARMConstantIslandPass.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMConstantIslandPass.cpp b/lib/Target/ARM/ARMConstantIslandPass.cpp
index 8f46c6b..e5ba8ba 100644
--- a/lib/Target/ARM/ARMConstantIslandPass.cpp
+++ b/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.