GH-131726: Split up _CHECK_VALIDITY_AND_SET_IP (GH-131810)

This commit is contained in:
Brandt Bucher 2025-04-01 16:55:05 -07:00 committed by GitHub
parent 1a9d4a1fb3
commit 3a8cefba0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 148 additions and 189 deletions

View file

@ -5191,11 +5191,6 @@ dummy_func(
Py_FatalError("Fatal error uop executed.");
}
tier2 op(_CHECK_VALIDITY_AND_SET_IP, (instr_ptr/4 --)) {
DEOPT_IF(!current_executor->vm_data.valid);
frame->instr_ptr = (_Py_CODEUNIT *)instr_ptr;
}
tier2 op(_DEOPT, (--)) {
tstate->previous_executor = (PyObject *)current_executor;
GOTO_TIER_ONE(_PyFrame_GetBytecode(frame) + CURRENT_TARGET());