We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33ae989 commit ac5e53eCopy full SHA for ac5e53e
Python/flowgraph.c
@@ -903,6 +903,7 @@ label_exception_targets(basicblock *entryblock) {
903
}
904
else if (instr->i_opcode == POP_BLOCK) {
905
handler = pop_except_block(except_stack);
906
+ INSTR_SET_OP0(instr, NOP);
907
908
else if (is_jump(instr)) {
909
instr->i_except = handler;
@@ -2313,7 +2314,7 @@ convert_pseudo_ops(cfg_builder *g)
2313
2314
for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
2315
for (int i = 0; i < b->b_iused; i++) {
2316
cfg_instr *instr = &b->b_instr[i];
- if (is_block_push(instr) || instr->i_opcode == POP_BLOCK) {
2317
+ if (is_block_push(instr)) {
2318
INSTR_SET_OP0(instr, NOP);
2319
2320
else if (instr->i_opcode == LOAD_CLOSURE) {
0 commit comments