projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
910cf7f
)
Guard fields by NDEBUG until they get used in the release build.
author
Andrew Trick
<atrick@apple.com>
Sun, 16 Sep 2012 05:55:04 +0000
(
05:55
+0000)
committer
Andrew Trick
<atrick@apple.com>
Sun, 16 Sep 2012 05:55:04 +0000
(
05:55
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163993
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/MC/MCSchedule.h
patch
|
blob
|
history
diff --git
a/include/llvm/MC/MCSchedule.h
b/include/llvm/MC/MCSchedule.h
index 99afb10ebd36feca1b70dcb8da7e2adc4d3ef103..af68a29c5e4c2cd48d6df9d25d5fd740665e19ca 100644
(file)
--- 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;