From: Bill Wendling Date: Sat, 22 Aug 2009 20:41:06 +0000 (+0000) Subject: Convert DOUT to DEBUG(errs()...). X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=960bb85b2165bd69feea3fc07d9cadd2da821c72;p=oota-llvm.git 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 a7508b5042d..ff5c236e379 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