File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 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) {
125125 return opcode >= MIN_INSTRUMENTED_OPCODE ;
126126}
127127
128+ #ifndef NDEBUG
128129static inline bool
129130monitors_equals (_Py_Monitors a , _Py_Monitors b )
130131{
@@ -135,6 +136,7 @@ monitors_equals(_Py_Monitors a, _Py_Monitors b)
135136 }
136137 return true;
137138}
139+ #endif
138140
139141static inline _Py_Monitors
140142monitors_sub (_Py_Monitors a , _Py_Monitors b )
@@ -146,6 +148,7 @@ monitors_sub(_Py_Monitors a, _Py_Monitors b)
146148 return res ;
147149}
148150
151+ #ifndef NDEBUG
149152static inline _Py_Monitors
150153monitors_and (_Py_Monitors a , _Py_Monitors b )
151154{
@@ -155,6 +158,7 @@ monitors_and(_Py_Monitors a, _Py_Monitors b)
155158 }
156159 return res ;
157160}
161+ #endif
158162
159163static inline _Py_Monitors
160164monitors_or (_Py_Monitors a , _Py_Monitors b )
You can’t perform that action at this time.
0 commit comments