mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
One forgotten C profiling #ifdef
This commit is contained in:
parent
4c70b69fb1
commit
bbffbd1983
1 changed files with 2 additions and 1 deletions
|
@ -3488,9 +3488,10 @@ call_function(PyObject ***pp_stack, int oparg
|
||||||
PyObject *func = *pfunc;
|
PyObject *func = *pfunc;
|
||||||
PyObject *x, *w;
|
PyObject *x, *w;
|
||||||
|
|
||||||
|
#ifdef WITH_C_PROF
|
||||||
int are_tracing = 0;
|
int are_tracing = 0;
|
||||||
|
|
||||||
PyThreadState *tstate = PyThreadState_GET();
|
PyThreadState *tstate = PyThreadState_GET();
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Always dispatch PyCFunction first, because these are
|
/* Always dispatch PyCFunction first, because these are
|
||||||
presumed to be the most frequent callable object.
|
presumed to be the most frequent callable object.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue