mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 21:29:41 +00:00
Left out the NDEBUG in the previous checkin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211867 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e8f8db1c5a
commit
ac5b1ec8c4
@ -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