Skip to content

Commit

Permalink
remove frame->instr_ptr--; in executor
Browse files Browse the repository at this point in the history
  • Loading branch information
iritkatriel committed Oct 20, 2023
1 parent 6a85588 commit 8ccbe6e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Python/executor.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ _PyUopExecute(_PyExecutorObject *executor, _PyInterpreterFrame *frame, PyObject
// This presumes nothing was popped from the stack (nor pushed).
DPRINTF(2, "DEOPT: [Opcode %d, operand %" PRIu64 "]\n", opcode, operand);
OPT_HIST(trace_uop_execution_counter, trace_run_length_hist);
frame->instr_ptr--; // Back up to just before destination
_PyFrame_SetStackPointer(frame, stack_pointer);
Py_DECREF(self);
return frame;
Expand Down

0 comments on commit 8ccbe6e

Please sign in to comment.