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 @@ -602,6 +602,7 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
602
602
PyObject * * fastlocals , * * freevars ;
603
603
PyObject * retval = NULL ; /* Return value */
604
604
PyThreadState * tstate = _PyThreadState_GET ();
605
+ _Py_atomic_int * eval_breaker = & _PyRuntime .ceval .eval_breaker ;
605
606
PyCodeObject * co ;
606
607
607
608
/* when tracing we set things up so that
@@ -687,7 +688,7 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
687
688
688
689
#define DISPATCH () \
689
690
{ \
690
- if (!_Py_atomic_load_relaxed(&_PyRuntime.ceval. eval_breaker)) { \
691
+ if (!_Py_atomic_load_relaxed(eval_breaker)) { \
691
692
FAST_DISPATCH(); \
692
693
} \
693
694
continue; \
@@ -989,7 +990,7 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
989
990
async I/O handler); see Py_AddPendingCall() and
990
991
Py_MakePendingCalls() above. */
991
992
992
- if (_Py_atomic_load_relaxed (& _PyRuntime . ceval . eval_breaker )) {
993
+ if (_Py_atomic_load_relaxed (eval_breaker )) {
993
994
opcode = _Py_OPCODE (* next_instr );
994
995
if (opcode == SETUP_FINALLY ||
995
996
opcode == SETUP_WITH ||
You can’t perform that action at this time.
0 commit comments