Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bbffbd1

Browse files
committed
One forgotten C profiling #ifdef
1 parent 4c70b69 commit bbffbd1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Python/ceval.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3488,9 +3488,10 @@ call_function(PyObject ***pp_stack, int oparg
34883488
PyObject *func = *pfunc;
34893489
PyObject *x, *w;
34903490

3491+
#ifdef WITH_C_PROF
34913492
int are_tracing = 0;
3492-
34933493
PyThreadState *tstate = PyThreadState_GET();
3494+
#endif
34943495

34953496
/* Always dispatch PyCFunction first, because these are
34963497
presumed to be the most frequent callable object.

0 commit comments

Comments
 (0)