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

@ -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, (--)) {