OSDN Git Service
(root)
/
android-x86
/
external-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
99afb10
..
af68a29
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;