Skip to content
Closed
Show file tree
Hide file tree
Changes from all 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
7 changes: 7 additions & 0 deletions Python/ceval.c
Original file line number Diff line number Diff line change
Expand Up @@ -969,6 +969,13 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
if ((COND)) { \
goto deoptimize;\
}
#undef TIER2_DEOPT_IF

#define TIER2_DEOPT_IF(COND, INSTNAME) \
if ((COND)) { \
next_uop = current_executor->trace + (next_uop-1)->target; \
break; \
}

#ifdef Py_STATS
// Disable these macros that apply to Tier 1 stats when we are in Tier 2
Expand Down
Loading