Home
last modified time | relevance | path

Searched refs:co_opcache (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Objects/
Dcodeobject.c260 co->co_opcache = NULL; in PyCode_NewWithPosOnlyArgs()
307 co->co_opcache = (_PyOpcache *)PyMem_Calloc(opts, sizeof(_PyOpcache)); in _PyCode_InitOpcache()
308 if (co->co_opcache == NULL) { in _PyCode_InitOpcache()
316 co->co_opcache = NULL; in _PyCode_InitOpcache()
548 if (co->co_opcache != NULL) { in code_dealloc()
549 PyMem_FREE(co->co_opcache); in code_dealloc()
603 if (co->co_opcache != NULL) { in code_sizeof()
/external/python/cpython3/Include/cpython/
Dcode.h61 _PyOpcache *co_opcache; member
/external/python/cpython3/Python/
Dceval.c947 _PyOpcache *co_opcache; in _PyEval_EvalFrameDefault() local
1215 co_opcache = NULL; \ in _PyEval_EvalFrameDefault()
1216 if (co->co_opcache != NULL) { \ in _PyEval_EvalFrameDefault()
1221 co_opcache = &co->co_opcache[co_opt_offset - 1]; \ in _PyEval_EvalFrameDefault()
1222 assert(co_opcache != NULL); \ in _PyEval_EvalFrameDefault()
1231 if (co->co_opcache != NULL) opcache_global_hits++; \ in _PyEval_EvalFrameDefault()
1236 if (co->co_opcache != NULL) opcache_global_misses++; \ in _PyEval_EvalFrameDefault()
1241 if (co->co_opcache != NULL) opcache_global_opts++; \ in _PyEval_EvalFrameDefault()
2550 if (co_opcache != NULL && co_opcache->optimized > 0) { in _PyEval_EvalFrameDefault()
2551 _PyOpcache_LoadGlobal *lg = &co_opcache->u.lg; in _PyEval_EvalFrameDefault()
[all …]