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 5f79067 commit e05182fCopy full SHA for e05182f
Python/flowgraph.c
@@ -2993,11 +2993,8 @@ optimize_load_fast(cfg_builder *g)
2993
}
2994
2995
// Push fallthrough block
2996
- cfg_instr *term = basicblock_last_instr(block);
2997
- if (term != NULL && block->b_next != NULL &&
2998
- !(IS_UNCONDITIONAL_JUMP_OPCODE(term->i_opcode) ||
2999
- IS_SCOPE_EXIT_OPCODE(term->i_opcode))) {
3000
- assert(BB_HAS_FALLTHROUGH(block));
+ if (BB_HAS_FALLTHROUGH(block)) {
+ assert(block->b_next != NULL);
3001
load_fast_push_block(&sp, block->b_next, refs.size);
3002
3003
0 commit comments