Skip to content

Commit 52b7ece

Browse files
ignore out entire interp loop
1 parent 465467f commit 52b7ece

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Python/ceval.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -923,15 +923,15 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
923923
#endif
924924

925925
{
926+
#ifndef Py_TAIL_CALL_INTERP
926927
/* Start instructions */
927-
#if !USE_COMPUTED_GOTOS && !defined(Py_TAIL_CALL_INTERP)
928+
#if !USE_COMPUTED_GOTOS
928929
dispatch_opcode:
929930
switch (opcode)
930931
#endif
931932
{
932-
#ifndef Py_TAIL_CALL_INTERP
933933
#include "generated_cases.c.h"
934-
#endif
934+
935935

936936
#if USE_COMPUTED_GOTOS
937937
_unknown_opcode:
@@ -953,7 +953,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
953953
/* This should never be reached. Every opcode should end with DISPATCH()
954954
or goto error. */
955955
Py_UNREACHABLE();
956-
956+
#endif
957957
pop_4_error:
958958
STACK_SHRINK(1);
959959
pop_3_error:

0 commit comments

Comments
 (0)