@@ -782,24 +782,24 @@ _PyObjectArray_Free(PyObject **array, PyObject **scratch)
782782#endif
783783
784784#ifdef Py_TAIL_CALL_INTERP
785- #include "generated_cases_tail_call.c.h"
785+ #include "generated_tail_call_handlers.c.h"
786+ # ifdef LLTRACE
787+ static inline PyObject *
788+ _TAIL_CALL_shim (_PyInterpreterFrame * frame , _PyStackRef * stack_pointer ,
789+ PyThreadState * tstate , _Py_CODEUNIT * next_instr , int oparg , _PyInterpreterFrame * entry_frame , int lltrace )
790+ {
791+ return (INSTRUCTION_TABLE [next_instr -> op .code ])(frame , stack_pointer , tstate , next_instr , next_instr -> op .arg , entry_frame , lltrace );
792+ }
793+ # else
794+ static inline PyObject *
795+ _TAIL_CALL_shim (_PyInterpreterFrame * frame , _PyStackRef * stack_pointer ,
796+ PyThreadState * tstate , _Py_CODEUNIT * next_instr , int oparg , _PyInterpreterFrame * entry_frame )
797+ {
798+ return (INSTRUCTION_TABLE [next_instr -> op .code ])(frame , stack_pointer , tstate , next_instr , next_instr -> op .arg , entry_frame );
799+ }
800+ # endif
786801#endif
787802
788- #ifdef LLTRACE
789- static inline PyObject *
790- _TAIL_CALL_shim (_PyInterpreterFrame * frame , _PyStackRef * stack_pointer ,
791- PyThreadState * tstate , _Py_CODEUNIT * next_instr , int oparg , _PyInterpreterFrame * entry_frame , int lltrace )
792- {
793- return (INSTRUCTION_TABLE [next_instr -> op .code ])(frame , stack_pointer , tstate , next_instr , next_instr -> op .arg , entry_frame , lltrace );
794- }
795- #else
796- static inline PyObject *
797- _TAIL_CALL_shim (_PyInterpreterFrame * frame , _PyStackRef * stack_pointer ,
798- PyThreadState * tstate , _Py_CODEUNIT * next_instr , int oparg , _PyInterpreterFrame * entry_frame )
799- {
800- return (INSTRUCTION_TABLE [next_instr -> op .code ])(frame , stack_pointer , tstate , next_instr , next_instr -> op .arg , entry_frame );
801- }
802- #endif
803803
804804PyObject * _Py_HOT_FUNCTION
805805_PyEval_EvalFrameDefault (PyThreadState * tstate , _PyInterpreterFrame * frame , int throwflag )
0 commit comments