diff --git a/Python/ceval.c b/Python/ceval.c index 9b7c42cbe4b114..487e09bc664173 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -5032,7 +5032,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int STAT_INC(PRECALL, hit); // PRECALL + CALL + POP_TOP JUMPBY(INLINE_CACHE_ENTRIES_PRECALL + 1 + INLINE_CACHE_ENTRIES_CALL + 1); - assert(next_instr[-1] == POP_TOP); + assert(_Py_OPCODE(next_instr[-1]) == POP_TOP); PyObject *arg = POP(); if (_PyList_AppendTakeRef((PyListObject *)list, arg) < 0) { goto error;