Missing NDEBUGs.

llvm-svn: 184039
This commit is contained in:
Andrew Trick 2013-06-15 05:46:47 +00:00
parent f78e7fa140
commit 8e8415f5ab
1 changed files with 6 additions and 0 deletions

View File

@ -1309,11 +1309,13 @@ public:
return Available.getID() == ConvergingScheduler::TopQID;
}
#ifndef NDEBUG
const char *getResourceName(unsigned PIdx) {
if (!PIdx)
return "MOps";
return SchedModel->getProcResource(PIdx)->Name;
}
#endif
/// Get the number of latency cycles "covered" by the scheduled
/// instructions. This is the larger of the critical path within the zone
@ -1370,7 +1372,9 @@ public:
SUnit *pickOnlyChoice();
#ifndef NDEBUG
void dumpScheduledState();
#endif
};
private:
@ -1936,6 +1940,7 @@ SUnit *ConvergingScheduler::SchedBoundary::pickOnlyChoice() {
return NULL;
}
#ifndef NDEBUG
// This is useful information to dump after bumpNode.
// Note that the Queue contents are more useful before pickNodeFromQueue.
void ConvergingScheduler::SchedBoundary::dumpScheduledState() {
@ -1959,6 +1964,7 @@ void ConvergingScheduler::SchedBoundary::dumpScheduledState() {
<< (IsResourceLimited ? " - Resource" : " - Latency")
<< " limited.\n";
}
#endif
void ConvergingScheduler::SchedCandidate::
initResourceDelta(const ScheduleDAGMI *DAG,