Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix crash
  • Loading branch information
corona10 committed Jul 9, 2023
commit c62437184cbd207def49de09372b023314ed184f
1 change: 1 addition & 0 deletions Python/flowgraph.c
Original file line number Diff line number Diff line change
Expand Up @@ -1327,6 +1327,7 @@ optimize_basic_block(PyObject *const_cache, basicblock *bb, PyObject *consts)
else if (inst->i_loc.lineno == last_store_fast_lino) {
if (last_i_oparg == inst->i_oparg) {
inst->i_opcode = POP_TOP;
inst->i_oparg = 0;
}
}
else {
Expand Down