From b629fdd88ac1c20439b49cbc9aa33b27cd5f6daf Mon Sep 17 00:00:00 2001 From: Brandt Bucher Date: Thu, 17 Nov 2022 15:09:18 -0800 Subject: GH-99298: Clean up attribute specializations (GH-99398) --- Include/internal/pycore_code.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Include/internal/pycore_code.h') diff --git a/Include/internal/pycore_code.h b/Include/internal/pycore_code.h index 0af240ca36..ba36ee38d2 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, -- cgit v1.2.1