@@ -785,10 +785,11 @@ _PyObjectArray_Free(PyObject **array, PyObject **scratch)
785785#include "generated_tail_call_handlers.c.h"
786786static inline PyObject * _TAIL_CALL_shim (TAIL_CALL_PARAMS )
787787{
788+ opcode = next_instr -> op .code ;
788789#ifdef LLTRACE
789- return (INSTRUCTION_TABLE [next_instr -> op . code ])(frame , stack_pointer , tstate , next_instr , next_instr -> op .arg , entry_frame , lltrace );
790+ return (INSTRUCTION_TABLE [opcode ])(frame , stack_pointer , tstate , next_instr , opcode , next_instr -> op .arg , entry_frame , lltrace );
790791#else
791- return (INSTRUCTION_TABLE [next_instr -> op . code ])(frame , stack_pointer , tstate , next_instr , next_instr -> op .arg , entry_frame );
792+ return (INSTRUCTION_TABLE [opcode ])(frame , stack_pointer , tstate , next_instr , opcode , next_instr -> op .arg , entry_frame );
792793#endif
793794}
794795#endif
@@ -908,9 +909,9 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
908909
909910#ifdef Py_TAIL_CALL_INTERP
910911#ifdef LLTRACE
911- return _TAIL_CALL_shim (frame , stack_pointer , tstate , next_instr , 0 , entry_frame , lltrace );
912+ return _TAIL_CALL_shim (frame , stack_pointer , tstate , next_instr , 0 , 0 , entry_frame , lltrace );
912913#else
913- return _TAIL_CALL_shim (frame , stack_pointer , tstate , next_instr , 0 , entry_frame );
914+ return _TAIL_CALL_shim (frame , stack_pointer , tstate , next_instr , 0 , 0 , entry_frame );
914915#endif
915916#else
916917 DISPATCH ();
@@ -1032,9 +1033,9 @@ TAIL_CALL_TARGET(exception_unwind):
10321033 DISPATCH ();
10331034# else
10341035# ifdef LLTRACE
1035- return _TAIL_CALL_shim (frame , stack_pointer , tstate , next_instr , 0 , entry_frame , lltrace );
1036+ return _TAIL_CALL_shim (frame , stack_pointer , tstate , next_instr , 0 , 0 , entry_frame , lltrace );
10361037# else
1037- return _TAIL_CALL_shim (frame , stack_pointer , tstate , next_instr , 0 , entry_frame );
1038+ return _TAIL_CALL_shim (frame , stack_pointer , tstate , next_instr , 0 , 0 , entry_frame );
10381039# endif
10391040# endif
10401041#else
0 commit comments