One forgotten C profiling #ifdef

This commit is contained in:
Nicholas Bastin 2004-06-22 04:18:47 +00:00
parent 4c70b69fb1
commit bbffbd1983
1 changed files with 2 additions and 1 deletions

View File

@ -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.