[llvm-branch-commits] [llvm-branch] r87057 - /llvm/branches/Apple/Leela/lib/Target/ARM/ARMConstantIslandPass.cpp

Jim Grosbach grosbach at apple.com
Thu Nov 12 17:19:52 PST 2009


Author: grosbach
Date: Thu Nov 12 19:19:51 2009
New Revision: 87057

URL: http://llvm.org/viewvc/llvm-project?rev=87057&view=rev
Log:
merge 87056

Modified:
    llvm/branches/Apple/Leela/lib/Target/ARM/ARMConstantIslandPass.cpp

Modified: llvm/branches/Apple/Leela/lib/Target/ARM/ARMConstantIslandPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Leela/lib/Target/ARM/ARMConstantIslandPass.cpp?rev=87057&r1=87056&r2=87057&view=diff

==============================================================================
--- llvm/branches/Apple/Leela/lib/Target/ARM/ARMConstantIslandPass.cpp (original)
+++ llvm/branches/Apple/Leela/lib/Target/ARM/ARMConstantIslandPass.cpp Thu Nov 12 19:19:51 2009
@@ -1804,9 +1804,7 @@
   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.





More information about the llvm-branch-commits mailing list