Use DEBUG macro for debug output.

llvm-svn: 78694
This commit is contained in:
David Goodwin 2009-08-11 17:56:42 +00:00
parent 5d47e93532
commit 92492f2f8e
1 changed files with 7 additions and 11 deletions

View File

@ -826,17 +826,13 @@ void SchedulePostRATDList::ListScheduleTopDown() {
MinDepth = PendingQueue[i]->getDepth();
}
#ifndef NDEBUG
{
errs() << "\n*** Examining Available\n";
DEBUG(errs() << "\n*** Examining Available\n";
LatencyPriorityQueue q = AvailableQueue;
while (!q.empty()) {
SUnit *su = q.pop();
errs() << "Height " << su->getHeight() << ": ";
su->dump(this);
}
}
#endif
});
SUnit *FoundSUnit = 0;