mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
GH-109214: _SET_IP before _PUSH_FRAME (but not _POP_FRAME) (GH-111001)
This commit is contained in:
parent
c0ea67dd0d
commit
e5168ff3f8
5 changed files with 28 additions and 44 deletions
|
@ -803,7 +803,6 @@ dummy_func(
|
|||
}
|
||||
|
||||
macro(RETURN_VALUE) =
|
||||
_SAVE_CURRENT_IP + // Sets frame->prev_instr
|
||||
_POP_FRAME;
|
||||
|
||||
inst(INSTRUMENTED_RETURN_VALUE, (retval --)) {
|
||||
|
@ -827,7 +826,6 @@ dummy_func(
|
|||
|
||||
macro(RETURN_CONST) =
|
||||
LOAD_CONST +
|
||||
_SAVE_CURRENT_IP + // Sets frame->prev_instr
|
||||
_POP_FRAME;
|
||||
|
||||
inst(INSTRUMENTED_RETURN_CONST, (--)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue