mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
GH-131726: Split up _CHECK_VALIDITY_AND_SET_IP (GH-131810)
This commit is contained in:
parent
1a9d4a1fb3
commit
3a8cefba0b
7 changed files with 148 additions and 189 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue