diff options
author | Nicholas Bastin <nick.bastin@gmail.com> | 2004-06-22 04:18:47 (GMT) |
---|---|---|
committer | Nicholas Bastin <nick.bastin@gmail.com> | 2004-06-22 04:18:47 (GMT) |
commit | bbffbd19836b163b679f950a4977cb9b451c14ea (patch) | |
tree | 7e55f5a3635f182318392da7c0dca299c76f0f51 /Python/ceval.c | |
parent | 4c70b69fb19ce5d730a70ab5d67272bb7202bd6c (diff) | |
download | cpython-bbffbd19836b163b679f950a4977cb9b451c14ea.zip cpython-bbffbd19836b163b679f950a4977cb9b451c14ea.tar.gz cpython-bbffbd19836b163b679f950a4977cb9b451c14ea.tar.bz2 |
One forgotten C profiling #ifdef
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index d5493cc..6bc35d0 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -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. |