mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
bpo-44525: Specialize `CALL_FUNCTION` for C function calls (GH-26934)
This commit is contained in:
parent
3592980f91
commit
3163e68c34
7 changed files with 365 additions and 50 deletions
|
|
@ -309,6 +309,7 @@ int _Py_Specialize_LoadMethod(PyObject *owner, _Py_CODEUNIT *instr, PyObject *na
|
|||
int _Py_Specialize_BinarySubscr(PyObject *sub, PyObject *container, _Py_CODEUNIT *instr);
|
||||
int _Py_Specialize_BinaryAdd(PyObject *left, PyObject *right, _Py_CODEUNIT *instr);
|
||||
int _Py_Specialize_BinaryMultiply(PyObject *left, PyObject *right, _Py_CODEUNIT *instr);
|
||||
int _Py_Specialize_CallFunction(PyObject *callable, _Py_CODEUNIT *instr, int nargs, SpecializedCacheEntry *cache, PyObject *builtins);
|
||||
|
||||
#define PRINT_SPECIALIZATION_STATS 0
|
||||
#define PRINT_SPECIALIZATION_STATS_DETAILED 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue