Convert DOUT to DEBUG(errs()...).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79760 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/ScheduleDAG.cpp b/lib/CodeGen/ScheduleDAG.cpp
index a7508b5..ff5c236 100644
--- a/lib/CodeGen/ScheduleDAG.cpp
+++ b/lib/CodeGen/ScheduleDAG.cpp
@@ -60,9 +60,11 @@
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