aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/executor_cases.c.h
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2025-04-29 18:00:35 +0100
committerGitHub <noreply@github.com>2025-04-29 18:00:35 +0100
commitccf1b0b1c18e6d00fb919bce107f2793bab0a471 (patch)
tree94c1bd2fd030defe28291ae62acbfcb1c2cb4b2b /Python/executor_cases.c.h
parentcaee16f05229de5bc5ed2743c531f1696641888a (diff)
downloadcpython-ccf1b0b1c18e6d00fb919bce107f2793bab0a471.tar.gz
cpython-ccf1b0b1c18e6d00fb919bce107f2793bab0a471.zip
GH-132508: Use tagged integers on the evaluation stack for the last instruction offset (GH-132545)
Diffstat (limited to 'Python/executor_cases.c.h')
-rw-r--r--Python/executor_cases.c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/executor_cases.c.h b/Python/executor_cases.c.h
index 09998090575..4e57906c84a 100644
--- a/Python/executor_cases.c.h
+++ b/Python/executor_cases.c.h
@@ -4470,7 +4470,7 @@
if (tb == NULL) {
tb = Py_None;
}
- assert(PyStackRef_LongCheck(lasti));
+ assert(PyStackRef_IsTaggedInt(lasti));
(void)lasti;
PyObject *stack[5] = {NULL, PyStackRef_AsPyObjectBorrow(exit_self), exc, val_o, tb};
int has_self = !PyStackRef_IsNull(exit_self);