@@ -4075,7 +4075,6 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, PyFrameObject *f, int throwflag)
4075
4075
case TARGET (CALL_FUNCTION_ADAPTIVE ): {
4076
4076
SpecializedCacheEntry * cache = GET_CACHE ();
4077
4077
if (cache -> adaptive .counter == 0 ) {
4078
- PyObject * callable = PEEK (cache -> adaptive .original_oparg + 1 );
4079
4078
next_instr -- ;
4080
4079
if (_Py_Specialize_CallFunction (stack_pointer , cache -> adaptive .original_oparg , BUILTINS (), next_instr , cache ) < 0 ) {
4081
4080
goto error ;
@@ -5927,7 +5926,7 @@ call_function_builtin(PyThreadState *tstate,
5927
5926
#define MAYBE_TRACE (cfunc ) if (use_tracing) {C_TRACE(x, cfunc);} else {x = cfunc;}
5928
5927
5929
5928
PyObject * * pfunc = (* pp_stack ) - oparg - 1 ;
5930
- PyObject * x , * w ;
5929
+ PyObject * x = NULL , * w ;
5931
5930
PyObject * * stack = (* pp_stack ) - oparg ;
5932
5931
5933
5932
PyObject * func = * pfunc ; /* Only for tracing purposes */
@@ -5941,19 +5940,20 @@ call_function_builtin(PyThreadState *tstate,
5941
5940
break ;
5942
5941
}
5943
5942
case _PYCFUNCTION_FAST : {
5944
- MAYBE_TRACE (((_PyCFunctionFast )cfunc )(self , stack , oparg ));
5943
+ MAYBE_TRACE (((_PyCFunctionFast )( void ( * )( void )) cfunc )(self , stack , oparg ));
5945
5944
break ;
5946
5945
}
5947
5946
case _PYCFUNCTION_FAST_WITH_KEYWORDS : {
5948
- MAYBE_TRACE (((_PyCFunctionFastWithKeywords )cfunc )(self , stack , oparg , 0 ));
5947
+ MAYBE_TRACE (((_PyCFunctionFastWithKeywords )(void (* )(void ))cfunc )(
5948
+ self , stack , oparg , 0 ));
5949
5949
break ;
5950
5950
}
5951
5951
case PYCFUNCTION_WITH_KEYWORDS : {
5952
5952
PyObject * args = _PyTuple_FromArray (stack , oparg );
5953
5953
if (args == NULL ) {
5954
5954
break ;
5955
5955
}
5956
- MAYBE_TRACE (((PyCFunctionWithKeywords )cfunc )(self , args , NULL ));
5956
+ MAYBE_TRACE (((PyCFunctionWithKeywords )( void ( * )( void )) cfunc )(self , args , NULL ));
5957
5957
Py_DECREF (args );
5958
5958
break ;
5959
5959
}
0 commit comments