summaryrefslogtreecommitdiff
path: root/lib/CodeGen/ScheduleDAG.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/ScheduleDAG.cpp')
-rw-r--r--lib/CodeGen/ScheduleDAG.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/CodeGen/ScheduleDAG.cpp b/lib/CodeGen/ScheduleDAG.cpp
index a7508b5042..ff5c236e37 100644
--- a/lib/CodeGen/ScheduleDAG.cpp
+++ b/lib/CodeGen/ScheduleDAG.cpp
@@ -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