diff options
| author | Brandt Bucher <brandtbucher@microsoft.com> | 2022-11-17 23:09:18 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-17 23:09:18 (GMT) |
| commit | b629fdd88ac1c20439b49cbc9aa33b27cd5f6daf (patch) | |
| tree | c94c9632b3c000aeba65cc019f0547ca548c8548 /Include/internal/pycore_code.h | |
| parent | 8555dee5aeedb2f37ee2e2216ef8707be0fc1d9d (diff) | |
| download | cpython-b629fdd88ac1c20439b49cbc9aa33b27cd5f6daf.zip cpython-b629fdd88ac1c20439b49cbc9aa33b27cd5f6daf.tar.gz cpython-b629fdd88ac1c20439b49cbc9aa33b27cd5f6daf.tar.bz2 | |
GH-99298: Clean up attribute specializations (GH-99398)
Diffstat (limited to 'Include/internal/pycore_code.h')
| -rw-r--r-- | Include/internal/pycore_code.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/internal/pycore_code.h b/Include/internal/pycore_code.h index 0af240c..ba36ee3 100644 --- a/Include/internal/pycore_code.h +++ b/Include/internal/pycore_code.h @@ -213,10 +213,10 @@ extern int _PyLineTable_PreviousAddressRange(PyCodeAddressRange *range); /* Specialization functions */ -extern int _Py_Specialize_LoadAttr(PyObject *owner, _Py_CODEUNIT *instr, - PyObject *name); -extern int _Py_Specialize_StoreAttr(PyObject *owner, _Py_CODEUNIT *instr, +extern void _Py_Specialize_LoadAttr(PyObject *owner, _Py_CODEUNIT *instr, PyObject *name); +extern void _Py_Specialize_StoreAttr(PyObject *owner, _Py_CODEUNIT *instr, + PyObject *name); extern void _Py_Specialize_LoadGlobal(PyObject *globals, PyObject *builtins, _Py_CODEUNIT *instr, PyObject *name); extern void _Py_Specialize_BinarySubscr(PyObject *sub, PyObject *container, |
