Skip to content

Commit

Permalink
Python/optimizer.c
Browse files Browse the repository at this point in the history
  • Loading branch information
iritkatriel committed Sep 11, 2023
1 parent 557f36f commit cb22365
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Python/optimizer.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,9 @@ _PyOptimizer_BackEdge(_PyInterpreterFrame *frame, _Py_CODEUNIT *src, _Py_CODEUNI
Py_DECREF(executor);
goto jump_to_destination;
}
insert_executor(code, src, index, executor);
assert(frame->prev_instr == src);
assert(frame->instr_ptr == src);
insert_executor(code, src, index, executor);
frame->prev_instr = dest - 1;
frame->instr_ptr = dest;
return executor->execute(executor, frame, stack_pointer);
Expand Down

0 comments on commit cb22365

Please sign in to comment.