mirror of
https://github.com/python/cpython.git
synced 2025-08-23 18:24:46 +00:00
GH-116202: Incorporate invalidation check into _START_EXECUTOR. (GH-118044)
This commit is contained in:
parent
d3bd6b5f3f
commit
7e6fa5fced
5 changed files with 10 additions and 4 deletions
4
Python/executor_cases.c.h
generated
4
Python/executor_cases.c.h
generated
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue