summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2023-05-18 09:08:33 (GMT)
committerGitHub <noreply@github.com>2023-05-18 09:08:33 (GMT)
commit68b5f08b72e02f62ec787bfbb7aa99bac661daec (patch)
tree58c0b0e5d860e81bb29e024f6b7e2e3b6f2aa365 /Python/ceval.c
parent662aede68b0ea222cf3db4715b310e91c51b665f (diff)
downloadcpython-68b5f08b72e02f62ec787bfbb7aa99bac661daec.zip
cpython-68b5f08b72e02f62ec787bfbb7aa99bac661daec.tar.gz
cpython-68b5f08b72e02f62ec787bfbb7aa99bac661daec.tar.bz2
GH-104580: Don't cache eval breaker in interpreter (GH-104581)
Move eval-breaker to the front of the interpreter state.
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index e8534ec..df997e1 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -652,7 +652,6 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
// for the big switch below (in combination with the EXTRA_CASES macro).
uint8_t opcode; /* Current opcode */
int oparg; /* Current opcode argument, if any */
- _Py_atomic_int * const eval_breaker = &tstate->interp->ceval.eval_breaker;
#ifdef LLTRACE
int lltrace = 0;
#endif