Guard fields by NDEBUG until they get used in the release build.

llvm-svn: 163993
This commit is contained in:
Andrew Trick 2012-09-16 05:55:04 +00:00
parent a71d0f57b9
commit e7a0178af4

View File

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