Skip to content

Commit 830cfbe

Browse files
Simplify GOTO_TIER_ONE
1 parent d63997e commit 830cfbe

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

Python/ceval_macros.h

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -395,24 +395,6 @@ do { \
395395
} while (0)
396396
#endif
397397

398-
#ifdef _Py_JIT
399-
#define GOTO_TIER_ONE(TARGET) \
400-
do \
401-
{ \
402-
tstate->current_executor = NULL; \
403-
next_instr = (TARGET); \
404-
assert(tstate->current_executor == NULL); \
405-
OPT_HIST(trace_uop_execution_counter, trace_run_length_hist); \
406-
_PyFrame_SetStackPointer(frame, stack_pointer); \
407-
stack_pointer = _PyFrame_GetStackPointer(frame); \
408-
if (next_instr == NULL) \
409-
{ \
410-
next_instr = frame->instr_ptr; \
411-
goto error; \
412-
} \
413-
DISPATCH(); \
414-
} while (0)
415-
#else
416398
#define GOTO_TIER_ONE(TARGET) \
417399
do \
418400
{ \
@@ -431,7 +413,6 @@ do { \
431413
} \
432414
DISPATCH(); \
433415
} while (0)
434-
#endif
435416

436417
#define CURRENT_OPARG() (next_uop[-1].oparg)
437418
#define CURRENT_OPERAND0() (next_uop[-1].operand0)

0 commit comments

Comments
 (0)