From 3c0e5c9ecedb00d3c36fb2747b642bd3e38d0260 Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Sun, 16 Sep 2012 05:55:04 +0000 Subject: [PATCH] Guard fields by NDEBUG until they get used in the release build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163993 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/MC/MCSchedule.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.11.0