mirror of
https://github.com/python/cpython.git
synced 2026-05-09 06:01:08 -04:00
One forgotten C profiling #ifdef
This commit is contained in:
+2
-1
@@ -3488,9 +3488,10 @@ call_function(PyObject ***pp_stack, int oparg
|
||||
PyObject *func = *pfunc;
|
||||
PyObject *x, *w;
|
||||
|
||||
#ifdef WITH_C_PROF
|
||||
int are_tracing = 0;
|
||||
|
||||
PyThreadState *tstate = PyThreadState_GET();
|
||||
#endif
|
||||
|
||||
/* Always dispatch PyCFunction first, because these are
|
||||
presumed to be the most frequent callable object.
|
||||
|
||||
Reference in New Issue
Block a user