From 92e5fba9f84bc3cc17241b38debee21a55bc3e3b Mon Sep 17 00:00:00 2001 From: neonene <53406459+neonene@users.noreply.github.com> Date: Thu, 30 Sep 2021 00:15:59 +0900 Subject: [PATCH] use only tracing_dispatch if not USE_COMPUTED_GOTOS --- Python/ceval.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Python/ceval.c b/Python/ceval.c index 686250e1a8f943..6bbed6befb2ebc 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -1308,7 +1308,7 @@ eval_frame_handle_pending(PyThreadState *tstate) } #else #define TARGET(op) op -#define DISPATCH() goto predispatch; +#define DISPATCH() goto tracing_dispatch; #endif @@ -1826,16 +1826,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, PyFrameObject *f, int throwflag) } } #endif -#if USE_COMPUTED_GOTOS == 0 - goto dispatch_opcode; - predispatch: - if (trace_info.cframe.use_tracing OR_DTRACE_LINE OR_LLTRACE) { - goto tracing_dispatch; - } - f->f_lasti = INSTR_OFFSET(); - NEXTOPARG(); -#endif dispatch_opcode: #ifdef DYNAMIC_EXECUTION_PROFILE #ifdef DXPAIRS