diff options
author | David Goodwin <david_goodwin@apple.com> | 2009-08-11 17:56:42 +0000 |
---|---|---|
committer | David Goodwin <david_goodwin@apple.com> | 2009-08-11 17:56:42 +0000 |
commit | 92492f2f8e13dde15cf17143c6a5dcf266a1e912 (patch) | |
tree | 56ad2f70be4d335aa2f372fc82821e98c803497f | |
parent | 5d47e935324efcbaf9f57ce4f7874ff82b2e1212 (diff) | |
download | bcm5719-llvm-92492f2f8e13dde15cf17143c6a5dcf266a1e912.tar.gz bcm5719-llvm-92492f2f8e13dde15cf17143c6a5dcf266a1e912.zip |
Use DEBUG macro for debug output.
llvm-svn: 78694
-rw-r--r-- | llvm/lib/CodeGen/PostRASchedulerList.cpp | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/llvm/lib/CodeGen/PostRASchedulerList.cpp b/llvm/lib/CodeGen/PostRASchedulerList.cpp index 1606532e47f..944bfee8a9f 100644 --- a/llvm/lib/CodeGen/PostRASchedulerList.cpp +++ b/llvm/lib/CodeGen/PostRASchedulerList.cpp @@ -826,17 +826,13 @@ void SchedulePostRATDList::ListScheduleTopDown() { MinDepth = PendingQueue[i]->getDepth(); } -#ifndef NDEBUG - { - errs() << "\n*** Examining Available\n"; - LatencyPriorityQueue q = AvailableQueue; - while (!q.empty()) { - SUnit *su = q.pop(); - errs() << "Height " << su->getHeight() << ": "; - su->dump(this); - } - } -#endif + DEBUG(errs() << "\n*** Examining Available\n"; + LatencyPriorityQueue q = AvailableQueue; + while (!q.empty()) { + SUnit *su = q.pop(); + errs() << "Height " << su->getHeight() << ": "; + su->dump(this); + }); SUnit *FoundSUnit = 0; |