diff options
author | Mark Shannon <mark@hotpy.org> | 2025-01-20 17:09:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-20 17:09:23 (GMT) |
commit | ab61d3f4303d14a413bc9ae6557c730ffdf7579e (patch) | |
tree | ec35e41ce467f4cb281208970cf453a680d82aed /Python/flowgraph.c | |
parent | 0a6412f9cc9e694e76299cfbd73ec969b7d47af6 (diff) | |
download | cpython-ab61d3f4303d14a413bc9ae6557c730ffdf7579e.zip cpython-ab61d3f4303d14a413bc9ae6557c730ffdf7579e.tar.gz cpython-ab61d3f4303d14a413bc9ae6557c730ffdf7579e.tar.bz2 |
GH-128914: Remove conditional stack effects from `bytecodes.c` and the code generators (GH-128918)
Diffstat (limited to 'Python/flowgraph.c')
-rw-r--r-- | Python/flowgraph.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Python/flowgraph.c b/Python/flowgraph.c index 24561c1..3f8d9db 100644 --- a/Python/flowgraph.c +++ b/Python/flowgraph.c @@ -1836,12 +1836,6 @@ optimize_basic_block(PyObject *const_cache, basicblock *bb, PyObject *consts) INSTR_SET_OP0(inst, NOP); } break; - case LOAD_GLOBAL: - if (nextop == PUSH_NULL && (oparg & 1) == 0) { - INSTR_SET_OP1(inst, LOAD_GLOBAL, oparg | 1); - INSTR_SET_OP0(&bb->b_instr[i + 1], NOP); - } - break; case COMPARE_OP: if (nextop == TO_BOOL) { INSTR_SET_OP0(inst, NOP); |