diff options
author | Mark Shannon <mark@hotpy.org> | 2024-04-19 08:26:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-19 08:26:42 (GMT) |
commit | 7e6fa5fceddc3f4721c036116c7a11533c8b23b3 (patch) | |
tree | 8684f0f2bc1f25c197cbb0c70249f9f04de65464 /Python/executor_cases.c.h | |
parent | d3bd6b5f3f48731715e21fe132b8e65a4e5f6ce8 (diff) | |
download | cpython-7e6fa5fceddc3f4721c036116c7a11533c8b23b3.zip cpython-7e6fa5fceddc3f4721c036116c7a11533c8b23b3.tar.gz cpython-7e6fa5fceddc3f4721c036116c7a11533c8b23b3.tar.bz2 |
GH-116202: Incorporate invalidation check into _START_EXECUTOR. (GH-118044)
Diffstat (limited to 'Python/executor_cases.c.h')
-rw-r--r-- | Python/executor_cases.c.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/executor_cases.c.h b/Python/executor_cases.c.h index a3447da..fccff24 100644 --- a/Python/executor_cases.c.h +++ b/Python/executor_cases.c.h @@ -4137,6 +4137,10 @@ #ifndef _Py_JIT current_executor = (_PyExecutorObject*)executor; #endif + if (!((_PyExecutorObject *)executor)->vm_data.valid) { + UOP_STAT_INC(uopcode, miss); + JUMP_TO_JUMP_TARGET(); + } break; } |