File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -637,6 +637,7 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
637
637
PyObject * * fastlocals , * * freevars ;
638
638
PyObject * retval = NULL ; /* Return value */
639
639
PyThreadState * tstate = _PyThreadState_GET ();
640
+ _Py_atomic_int * eval_breaker = & tstate -> interp -> ceval .eval_breaker ;
640
641
PyCodeObject * co ;
641
642
642
643
/* when tracing we set things up so that
@@ -722,7 +723,7 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
722
723
723
724
#define DISPATCH () \
724
725
{ \
725
- if (!_Py_atomic_load_relaxed(&tstate->interp->ceval. eval_breaker)) { \
726
+ if (!_Py_atomic_load_relaxed(eval_breaker)) { \
726
727
FAST_DISPATCH(); \
727
728
} \
728
729
continue; \
@@ -1024,7 +1025,7 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
1024
1025
async I/O handler); see Py_AddPendingCall() and
1025
1026
Py_MakePendingCalls() above. */
1026
1027
1027
- if (_Py_atomic_load_relaxed (& ( tstate -> interp -> ceval . eval_breaker ) )) {
1028
+ if (_Py_atomic_load_relaxed (eval_breaker )) {
1028
1029
opcode = _Py_OPCODE (* next_instr );
1029
1030
if (opcode == SETUP_FINALLY ||
1030
1031
opcode == SETUP_WITH ||
You can’t perform that action at this time.
0 commit comments