diff options
author | Mark Shannon <mark@hotpy.org> | 2023-06-08 11:35:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-08 11:35:34 (GMT) |
commit | e830289c52cecd99e5e2291972d648e9b3452a51 (patch) | |
tree | 096949cf5c51cb557f8d844940771cd7e2ee3a4e /Python/flowgraph.c | |
parent | 410c2f13e50ea53074cb1fb8074ac0c4d3564cc8 (diff) | |
download | cpython-e830289c52cecd99e5e2291972d648e9b3452a51.zip cpython-e830289c52cecd99e5e2291972d648e9b3452a51.tar.gz cpython-e830289c52cecd99e5e2291972d648e9b3452a51.tar.bz2 |
GH-105229: Remove remaining two-codeunit superinstructions (GH-105326)
* Remove LOAD_CONST__LOAD_FAST and LOAD_FAST__LOAD_CONST superinstructions.
Diffstat (limited to 'Python/flowgraph.c')
-rw-r--r-- | Python/flowgraph.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/flowgraph.c b/Python/flowgraph.c index b16b508..a144057 100644 --- a/Python/flowgraph.c +++ b/Python/flowgraph.c @@ -1676,7 +1676,6 @@ scan_block_for_locals(basicblock *b, basicblock ***sp) for (int i = 0; i < b->b_iused; i++) { cfg_instr *instr = &b->b_instr[i]; assert(instr->i_opcode != EXTENDED_ARG); - assert(!IS_SUPERINSTRUCTION_OPCODE(instr->i_opcode)); if (instr->i_except != NULL) { maybe_push(instr->i_except, unsafe_mask, sp); } @@ -1735,7 +1734,6 @@ fast_scan_many_locals(basicblock *entryblock, int nlocals) for (int i = 0; i < b->b_iused; i++) { cfg_instr *instr = &b->b_instr[i]; assert(instr->i_opcode != EXTENDED_ARG); - assert(!IS_SUPERINSTRUCTION_OPCODE(instr->i_opcode)); int arg = instr->i_oparg; if (arg < 64) { continue; |