Skip to content

Commit

Permalink
assert always
Browse files Browse the repository at this point in the history
  • Loading branch information
iritkatriel committed Sep 5, 2023
1 parent b630358 commit 055612d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/ceval.c
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
#define SET_LOCALS_FROM_FRAME() do { \
/* Jump back to the last instruction executed... */ \
_Py_CODEUNIT *tmp = frame->prev_instr + 1; \
if (tmp->op.code != EXTENDED_ARG) assert (frame->instr_ptr == frame->prev_instr + 1); \
assert (frame->instr_ptr == frame->prev_instr + 1); \
next_instr = frame->prev_instr + 1; \
stack_pointer = _PyFrame_GetStackPointer(frame); \
} while(0);
Expand Down

0 comments on commit 055612d

Please sign in to comment.