diff options
author | Brandt Bucher <brandtbucher@microsoft.com> | 2022-02-16 16:48:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-16 16:48:16 (GMT) |
commit | a9da085015db8cbb81f660158864ac94fe6c67a2 (patch) | |
tree | c24578d6baf4b19b1e57598c32797ec9b17aaf99 /Include/internal | |
parent | e8a19b092fc0551581e10d6f310dd5feabac7609 (diff) | |
download | cpython-a9da085015db8cbb81f660158864ac94fe6c67a2.zip cpython-a9da085015db8cbb81f660158864ac94fe6c67a2.tar.gz cpython-a9da085015db8cbb81f660158864ac94fe6c67a2.tar.bz2 |
bpo-46702: Specialize UNPACK_SEQUENCE (GH-31240)
Diffstat (limited to 'Include/internal')
-rw-r--r-- | Include/internal/pycore_code.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/internal/pycore_code.h b/Include/internal/pycore_code.h index 2d8fe20..ead9541 100644 --- a/Include/internal/pycore_code.h +++ b/Include/internal/pycore_code.h @@ -276,6 +276,8 @@ int _Py_Specialize_CallNoKw(PyObject *callable, _Py_CODEUNIT *instr, int nargs, void _Py_Specialize_BinaryOp(PyObject *lhs, PyObject *rhs, _Py_CODEUNIT *instr, SpecializedCacheEntry *cache); void _Py_Specialize_CompareOp(PyObject *lhs, PyObject *rhs, _Py_CODEUNIT *instr, SpecializedCacheEntry *cache); +void _Py_Specialize_UnpackSequence(PyObject *seq, _Py_CODEUNIT *instr, + SpecializedCacheEntry *cache); /* Deallocator function for static codeobjects used in deepfreeze.py */ void _PyStaticCode_Dealloc(PyCodeObject *co); |