diff options
author | Mark Shannon <mark@hotpy.org> | 2024-06-17 14:40:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-17 14:40:11 +0100 |
commit | 274f844830898355f14d6edb6e71894a2f37e53c (patch) | |
tree | 0f6ef2d7e7fd30f42fe83bbc05859314ac1c230a /Python/optimizer_bytecodes.c | |
parent | 79e09e60d865b7b3fcde9ccee86a502da82bb2b3 (diff) | |
download | cpython-274f844830898355f14d6edb6e71894a2f37e53c.tar.gz cpython-274f844830898355f14d6edb6e71894a2f37e53c.zip |
GH-120619: Clean up `RETURN_VALUE` instruction (GH-120624)
* Rename _POP_FRAME to _RETURN_VALUE as it returns a value as well as popping a frame.
* Remove remaining _POP_FRAMEs
Diffstat (limited to 'Python/optimizer_bytecodes.c')
-rw-r--r-- | Python/optimizer_bytecodes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/optimizer_bytecodes.c b/Python/optimizer_bytecodes.c index e6fb85a9060..121ca928fed 100644 --- a/Python/optimizer_bytecodes.c +++ b/Python/optimizer_bytecodes.c @@ -606,7 +606,7 @@ dummy_func(void) { ctx->done = true; } - op(_POP_FRAME, (retval -- res)) { + op(_RETURN_VALUE, (retval -- res)) { SYNC_SP(); ctx->frame->stack_pointer = stack_pointer; frame_pop(ctx); |