Skip to content

Commit 76c2c96

Browse files
one-liner
1 parent 5337c71 commit 76c2c96

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

Python/ceval_macros.h

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -381,24 +381,6 @@ _PyFrame_SetStackPointer(frame, stack_pointer)
381381
/* Tier-switching macros. */
382382

383383
#ifdef _Py_JIT
384-
#if Py_TAIL_CALL_INTERP
385-
#define GOTO_TIER_TWO(EXECUTOR) \
386-
do { \
387-
OPT_STAT_INC(traces_executed); \
388-
jit_func jitted = (EXECUTOR)->jit_code; \
389-
next_instr = jitted(frame, stack_pointer, tstate); \
390-
Py_DECREF(tstate->previous_executor); \
391-
tstate->previous_executor = NULL; \
392-
frame = tstate->current_frame; \
393-
if (next_instr == NULL) { \
394-
next_instr = frame->instr_ptr; \
395-
stack_pointer = _PyFrame_GetStackPointer(frame); \
396-
return JUMP_TO_LABEL(error); \
397-
} \
398-
stack_pointer = _PyFrame_GetStackPointer(frame); \
399-
DISPATCH(); \
400-
} while (0)
401-
#else
402384
#define GOTO_TIER_TWO(EXECUTOR) \
403385
do { \
404386
OPT_STAT_INC(traces_executed); \
@@ -413,11 +395,10 @@ do { \
413395
stack_pointer = _PyFrame_GetStackPointer(frame); \
414396
if (next_instr == NULL) { \
415397
next_instr = frame->instr_ptr; \
416-
goto error; \
398+
JUMP_TO_LABEL(error); \
417399
} \
418400
DISPATCH(); \
419401
} while (0)
420-
#endif
421402
#else
422403
#define GOTO_TIER_TWO(EXECUTOR) \
423404
do { \

0 commit comments

Comments
 (0)