diff options
author | Andrew Trick <atrick@apple.com> | 2012-09-16 05:55:04 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-09-16 05:55:04 +0000 |
commit | 3c0e5c9ecedb00d3c36fb2747b642bd3e38d0260 (patch) | |
tree | 7ce05d5427eb5c9f6187edac33f12045c0852b76 /include/llvm/MC | |
parent | 910cf7f712a1895b993df4677c1059c595353dcc (diff) | |
download | external_llvm-3c0e5c9ecedb00d3c36fb2747b642bd3e38d0260.zip external_llvm-3c0e5c9ecedb00d3c36fb2747b642bd3e38d0260.tar.gz external_llvm-3c0e5c9ecedb00d3c36fb2747b642bd3e38d0260.tar.bz2 |
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
Diffstat (limited to 'include/llvm/MC')
-rw-r--r-- | include/llvm/MC/MCSchedule.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/MC/MCSchedule.h b/include/llvm/MC/MCSchedule.h index 99afb10..af68a29 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; |