summaryrefslogtreecommitdiffstats
path: root/Python/bytecodes.c
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2024-04-19 08:26:42 (GMT)
committerGitHub <noreply@github.com>2024-04-19 08:26:42 (GMT)
commit7e6fa5fceddc3f4721c036116c7a11533c8b23b3 (patch)
tree8684f0f2bc1f25c197cbb0c70249f9f04de65464 /Python/bytecodes.c
parentd3bd6b5f3f48731715e21fe132b8e65a4e5f6ce8 (diff)
downloadcpython-7e6fa5fceddc3f4721c036116c7a11533c8b23b3.zip
cpython-7e6fa5fceddc3f4721c036116c7a11533c8b23b3.tar.gz
cpython-7e6fa5fceddc3f4721c036116c7a11533c8b23b3.tar.bz2
GH-116202: Incorporate invalidation check into _START_EXECUTOR. (GH-118044)
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r--Python/bytecodes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c
index d6fb66a..c34d702 100644
--- a/Python/bytecodes.c
+++ b/Python/bytecodes.c
@@ -4181,6 +4181,7 @@ dummy_func(
#ifndef _Py_JIT
current_executor = (_PyExecutorObject*)executor;
#endif
+ DEOPT_IF(!((_PyExecutorObject *)executor)->vm_data.valid);
}
tier2 op(_FATAL_ERROR, (--)) {