diff --git a/include/llvm/MC/MCSchedule.h b/include/llvm/MC/MCSchedule.h index 99afb10ebd3..af68a29c5e4 100644 --- a/include/llvm/MC/MCSchedule.h +++ b/include/llvm/MC/MCSchedule.h @@ -172,10 +172,10 @@ private: unsigned ProcID; const MCProcResourceDesc *ProcResourceTable; const MCSchedClassDesc *SchedClassTable; - +#ifndef NDEBUG unsigned NumProcResourceKinds; unsigned NumSchedClasses; - +#endif // Instruction itinerary tables used by InstrItineraryData. friend class InstrItineraryData; const InstrItinerary *InstrItineraries;