mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
GH-115419: Move setting the instruction pointer to error exit stubs (GH-118088)
This commit is contained in:
parent
77cd0428b6
commit
83235f7791
5 changed files with 6 additions and 5 deletions
|
@ -4226,7 +4226,8 @@ dummy_func(
|
|||
EXIT_TO_TRACE();
|
||||
}
|
||||
|
||||
tier2 op(_ERROR_POP_N, (unused[oparg] --)) {
|
||||
tier2 op(_ERROR_POP_N, (target/2, unused[oparg] --)) {
|
||||
frame->instr_ptr = ((_Py_CODEUNIT *)_PyFrame_GetCode(frame)->co_code_adaptive) + target;
|
||||
SYNC_SP();
|
||||
GOTO_UNWIND();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue