[llvm-commits] [llvm] r78694 - /llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp
David Goodwin
david_goodwin at apple.com
Tue Aug 11 10:56:42 PDT 2009
Author: david_goodwin
Date: Tue Aug 11 12:56:42 2009
New Revision: 78694
URL: http://llvm.org/viewvc/llvm-project?rev=78694&view=rev
Log:
Use DEBUG macro for debug output.
Modified:
llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp
Modified: llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp?rev=78694&r1=78693&r2=78694&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp (original)
+++ llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp Tue Aug 11 12:56:42 2009
@@ -826,17 +826,13 @@
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;
More information about the llvm-commits
mailing list