mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-02 07:41:38 +00:00
Left out the NDEBUG in the previous checkin.
llvm-svn: 211867
This commit is contained in:
parent
a8cb3163c0
commit
424d4c474f
@ -1689,7 +1689,9 @@ bool SchedBoundary::checkHazard(SUnit *SU) {
|
||||
PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) {
|
||||
unsigned NRCycle = getNextResourceCycle(PI->ProcResourceIdx, PI->Cycles);
|
||||
if (NRCycle > CurrCycle) {
|
||||
#ifndef NDEBUG
|
||||
MaxObservedStall = std::max(NRCycle - CurrCycle, MaxObservedStall);
|
||||
#endif
|
||||
DEBUG(dbgs() << " SU(" << SU->NodeNum << ") "
|
||||
<< SchedModel->getResourceName(PI->ProcResourceIdx)
|
||||
<< "=" << NRCycle << "c\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user