8000 Call DISPATCH() directly from exit_trace · python/cpython@c54daef · GitHub
[go: up one dir, main page]

Skip to content

Commit c54daef

Browse files
committed
Call DISPATCH() directly from exit_trace
1 parent 075ab91 commit c54daef

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Python/ceval.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,11 +1066,10 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
10661066

10671067
// Jump here from _EXIT_TRACE
10681068
exit_trace:
1069-
_PyFrame_SetStackPointer(frame, stack_pointer);
1070-
frame->instr_ptr = next_uop[-1].target + _PyCode_CODE(_PyFrame_GetCode(frame));
1069+
frame->instr_ptr = next_instr = next_uop[-1].target + _PyCode_CODE(_PyFrame_GetCode(frame));
10711070
Py_DECREF(current_executor);
10721071
OPT_HIST(trace_uop_execution_counter, trace_run_length_hist);
1073-
goto enter_tier_one;
1072+
DISPATCH();
10741073

10751074
// Jump here from DEOPT_IF()
10761075
deoptimize:

0 commit comments

Comments
 (0)
0