GH-116202: Incorporate invalidation check into _START_EXECUTOR. (GH-118044)

This commit is contained in:
Mark Shannon 2024-04-19 09:26:42 +01:00 committed by GitHub
parent d3bd6b5f3f
commit 7e6fa5fced
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 10 additions and 4 deletions

View file

@ -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;
}