File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ is_instrumented(int opcode) {
125
125
return opcode >= MIN_INSTRUMENTED_OPCODE ;
126
126
}
127
127
128
+ #ifndef NDEBUG
128
129
static inline bool
129
130
monitors_equals (_Py_Monitors a , _Py_Monitors b )
130
131
{
@@ -135,6 +136,7 @@ monitors_equals(_Py_Monitors a, _Py_Monitors b)
135
136
}
136
137
return true;
137
138
}
139
+ #endif
138
140
139
141
static inline _Py_Monitors
140
142
monitors_sub (_Py_Monitors a , _Py_Monitors b )
@@ -146,6 +148,7 @@ monitors_sub(_Py_Monitors a, _Py_Monitors b)
146
148
return res ;
147
149
}
148
150
151
+ #ifndef NDEBUG
149
152
static inline _Py_Monitors
150
153
monitors_and (_Py_Monitors a , _Py_Monitors b )
151
154
{
@@ -155,6 +158,7 @@ monitors_and(_Py_Monitors a, _Py_Monitors b)
155
158
}
156
159
return res ;
157
160
}
161
+ #endif
158
162
159
163
static inline _Py_Monitors
160
164
monitors_or (_Py_Monitors a , _Py_Monitors b )
You can’t perform that action at this time.
0 commit comments