File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -3472,20 +3472,21 @@ convert_pseudo_conditional_jumps(cfg_builder *g)
34723472 instr -> i_opcode = instr -> i_opcode == JUMP_IF_FALSE ?
34733473 POP_JUMP_IF_FALSE : POP_JUMP_IF_TRUE ;
34743474 location loc = instr -> i_loc ;
3475+ basicblock * except = instr -> i_except ;
34753476 cfg_instr copy = {
34763477 .i_opcode = COPY ,
34773478 .i_oparg = 1 ,
34783479 .i_loc = loc ,
34793480 .i_target = NULL ,
3480- .i_except = instr -> i_except ,
3481+ .i_except = except ,
34813482 };
34823483 RETURN_IF_ERROR (basicblock_insert_instruction (b , i ++ , & copy ));
34833484 cfg_instr to_bool = {
34843485 .i_opcode = TO_BOOL ,
34853486 .i_oparg = 0 ,
34863487 .i_loc = loc ,
34873488 .i_target = NULL ,
3488- .i_except = instr -> i_except ,
3489+ .i_except = except ,
34893490 };
34903491 RETURN_IF_ERROR (basicblock_insert_instruction (b , i ++ , & to_bool ));
34913492 }
You can’t perform that action at this time.
0 commit comments