Skip to content

Commit

Permalink
Rename deoptimize_tier_two back to deoptimize (for Justin)
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanrossum committed Nov 1, 2023
1 parent 917b7a2 commit 9067eb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Python/ceval.c
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
#undef DEOPT_IF
#define DEOPT_IF(COND, INSTNAME) \
if ((COND)) { \
goto deoptimize_tier_two;\
goto deoptimize;\
}

#ifdef Py_STATS
Expand Down Expand Up @@ -1046,7 +1046,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
Py_DECREF(self);
goto resume_with_error;

deoptimize_tier_two:
deoptimize:
// On DEOPT_IF we just repeat the last instruction.
// This presumes nothing was popped from the stack (nor pushed).
DPRINTF(2, "DEOPT: [Opcode %d, operand %" PRIu64 "]\n", opcode, operand);
Expand Down

0 comments on commit 9067eb0

Please sign in to comment.