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 be69fa08b6
commit 539e2b4d86

View File

@ -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;