Skip to content
Merged
Changes from 2 commits
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
4 changes: 4 additions & 0 deletions Python/ceval.c
Original file line number Diff line number Diff line change
Expand Up @@ -5705,6 +5705,10 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
_unknown_opcode:
#else
EXTRA_CASES // From opcode.h, a 'case' for each unused opcode
/* Load opcode for MSVC to optimize switch(opcode) separately.
Comment thread
gvanrossum marked this conversation as resolved.
Resolved
next_instr, which EXTRA_CASES do not increment, points
the current instruction here. */
opcode = _Py_OPCODE(*next_instr);
#endif
Comment thread
gvanrossum marked this conversation as resolved.
Resolved
fprintf(stderr, "XXX lineno: %d, opcode: %d\n",
_PyInterpreterFrame_GetLine(frame), opcode);
Expand Down