aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-08-22 20:41:06 +0000
committerBill Wendling <isanbard@gmail.com>2009-08-22 20:41:06 +0000
commit960bb85b2165bd69feea3fc07d9cadd2da821c72 (patch)
treeca71dd001561b2d19c9125887b1627d443198e83
parentcbac788324da2e3c7aaf9e9959b4426b52fc88b2 (diff)
downloadexternal_llvm-960bb85b2165bd69feea3fc07d9cadd2da821c72.zip
external_llvm-960bb85b2165bd69feea3fc07d9cadd2da821c72.tar.gz
external_llvm-960bb85b2165bd69feea3fc07d9cadd2da821c72.tar.bz2
Convert DOUT to DEBUG(errs()...).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79760 91177308-0d34-0410-b5e6-96231b3b80d8
-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 a7508b5..ff5c236 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