From 9067eb064b09bcdbed3e2f9da13096cc911d64c0 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 31 Oct 2023 17:25:26 -0700 Subject: [PATCH] Rename deoptimize_tier_two back to deoptimize (for Justin) --- Python/ceval.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Python/ceval.c b/Python/ceval.c index 413fcc06cbdb04..423fc34e99e7fe 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -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 @@ -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);