summaryrefslogtreecommitdiffstats
path: root/Include/internal
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2023-12-07 12:49:40 (GMT)
committerGitHub <noreply@github.com>2023-12-07 12:49:40 (GMT)
commitb449415b2f1b41e1c44cb453428657fdf6ff1d36 (patch)
treea31422e8d6a348baf55421d40dce503d1265b8d5 /Include/internal
parent3d712a9f4c9f366edbe16b804ec4f6ae50b0a59f (diff)
downloadcpython-b449415b2f1b41e1c44cb453428657fdf6ff1d36.zip
cpython-b449415b2f1b41e1c44cb453428657fdf6ff1d36.tar.gz
cpython-b449415b2f1b41e1c44cb453428657fdf6ff1d36.tar.bz2
GH-111485: Separate out parsing, analysis and code-gen phases of tier 1 code generator (GH-112299)
Diffstat (limited to 'Include/internal')
-rw-r--r--Include/internal/pycore_opcode_metadata.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/internal/pycore_opcode_metadata.h b/Include/internal/pycore_opcode_metadata.h
index 4ae15e7..774c0f9 100644
--- a/Include/internal/pycore_opcode_metadata.h
+++ b/Include/internal/pycore_opcode_metadata.h
@@ -1285,11 +1285,11 @@ int _PyOpcode_num_pushed(int opcode, int oparg, bool jump) {
case _INIT_CALL_PY_EXACT_ARGS:
return 1;
case _PUSH_FRAME:
- return 1;
+ return 0;
case CALL_BOUND_METHOD_EXACT_ARGS:
- return 1;
+ return 0;
case CALL_PY_EXACT_ARGS:
- return 1;
+ return 0;
case CALL_PY_WITH_DEFAULTS:
return 1;
case CALL_TYPE_1: