Convert DOUT to DEBUG(errs()...).
authorBill Wendling <isanbard@gmail.com>
Sat, 22 Aug 2009 20:41:06 +0000 (20:41 +0000)
committerBill Wendling <isanbard@gmail.com>
Sat, 22 Aug 2009 20:41:06 +0000 (20:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79760 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/ScheduleDAG.cpp

index a7508b5042ddff562c1227d185993e63ac95e866..ff5c236e3797cecbc04e180efc8bccb64f9fd610 100644 (file)
@@ -60,9 +60,11 @@ void ScheduleDAG::Run(MachineBasicBlock *bb,
 
   Schedule();
 
-  DOUT << "*** Final schedule ***\n";
-  DEBUG(dumpSchedule());
-  DOUT << "\n";
+  DEBUG({
+      errs() << "*** Final schedule ***\n";
+      dumpSchedule();
+      errs() << '\n';
+    });
 }
 
 /// addPred - This adds the specified edge as a pred of the current node if