File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,6 @@ Py_NO_INLINE int
117117_PyOptimizer_Optimize (
118118 _PyInterpreterFrame * frame , PyThreadState * tstate )
119119{
120- _PyStackRef * stack_pointer = frame -> stackpointer ;
121120 PyInterpreterState * interp = _PyInterpreterState_GET ();
122121 int chain_depth = tstate -> interp -> jit_tracer_initial_chain_depth ;
123122 assert (interp -> jit );
@@ -143,7 +142,7 @@ _PyOptimizer_Optimize(
143142 }
144143 // We are the only one still holding a reference to this code object that
145144 // is practically dead.
146- if (_PyObject_IsUniquelyReferenced (code ) || _PyObject_IsUniquelyReferenced (tstate -> interp -> jit_tracer_initial_func )) {
145+ if (_PyObject_IsUniquelyReferenced (( PyObject * ) code ) || _PyObject_IsUniquelyReferenced (( PyObject * ) tstate -> interp -> jit_tracer_initial_func )) {
147146 interp -> compiling = false;
148147 return 0 ;
149148 }
You can’t perform that action at this time.
0 commit comments