GH-109214: _SET_IP before _PUSH_FRAME (but not _POP_FRAME) (GH-111001)

This commit is contained in:
Brandt Bucher 2023-10-24 13:27:42 -07:00 committed by GitHub
parent c0ea67dd0d
commit e5168ff3f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 28 additions and 44 deletions

View file

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