summaryrefslogtreecommitdiffstats
path: root/Python/bytecodes.c
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2023-10-24 20:27:42 (GMT)
committerGitHub <noreply@github.com>2023-10-24 20:27:42 (GMT)
commite5168ff3f8abe651d0a96d9e2d49028183e21b15 (patch)
tree88848e19dfca490bba80f7f712fef2678dfcf5ac /Python/bytecodes.c
parentc0ea67dd0d67a8ac59c61c777eae26288d3ac0f6 (diff)
downloadcpython-e5168ff3f8abe651d0a96d9e2d49028183e21b15.zip
cpython-e5168ff3f8abe651d0a96d9e2d49028183e21b15.tar.gz
cpython-e5168ff3f8abe651d0a96d9e2d49028183e21b15.tar.bz2
GH-109214: _SET_IP before _PUSH_FRAME (but not _POP_FRAME) (GH-111001)
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r--Python/bytecodes.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c
index d7e2ecd..2ff3805 100644
--- a/Python/bytecodes.c
+++ b/Python/bytecodes.c
@@ -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, (--)) {