Mercurial > cpython-lru_cache-weakref
diff Python/ceval.c @ 32397:75861d8c5871 legacy-trunk
One forgotten C profiling #ifdef
| author | Nicholas Bastin <nick.bastin@gmail.com> |
|---|---|
| date | Tue, 22 Jun 2004 04:18:47 +0000 |
| parents | 2f76e72ad190 |
| children | 014d87c73210 |
line wrap: on
line diff
--- a/Python/ceval.c Tue Jun 22 03:51:38 2004 +0000 +++ b/Python/ceval.c Tue Jun 22 04:18:47 2004 +0000 @@ -3488,9 +3488,10 @@ 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.
