Use the standard MachineFunction::print() after SlotIndexes.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 24 Jan 2012 23:28:38 +0000 (23:28 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 24 Jan 2012 23:28:38 +0000 (23:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148878 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SlotIndexes.cpp

index 6a7666e8e25f54270730b9113aaede829ec5e99d..c5bd3a3cae63c35e5744d513480c6bb5fb632b05 100644 (file)
@@ -106,7 +106,7 @@ bool SlotIndexes::runOnMachineFunction(MachineFunction &fn) {
   // Sort the Idx2MBBMap
   std::sort(idx2MBBMap.begin(), idx2MBBMap.end(), Idx2MBBCompare());
 
-  DEBUG(dump());
+  DEBUG(mf->print(dbgs(), this));
 
   // And we're done!
   return false;