Revert "GH-128914: Remove conditional stack effects from `bytecodes.c… · python/cpython@a10f993 · GitHub
Skip to content

Commit a10f993

Browse files
authored
Revert "GH-128914: Remove conditional stack effects from bytecodes.c and the code generators (GH-128918)" (GH-129202)
The commit introduced a ~2.5-3% regression in the free threading build. This reverts commit ab61d3f.
1 parent d7d066c commit a10f993

44 files changed

Lines changed: 1678 additions & 1459 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Doc/library/dis.rst

Lines changed: 14 additions & 17 deletions

Include/internal/pycore_code.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,6 @@ extern void _Py_Specialize_LoadSuperAttr(_PyStackRef global_super, _PyStackRef c
334334
_Py_CODEUNIT *instr, int load_method);
335335
extern void _Py_Specialize_LoadAttr(_PyStackRef owner, _Py_CODEUNIT *instr,
336336
PyObject *name);
337-
extern void _Py_Specialize_LoadMethod(_PyStackRef owner, _Py_CODEUNIT *instr,
338-
PyObject *name);
339337
extern void _Py_Specialize_StoreAttr(_PyStackRef owner, _Py_CODEUNIT *instr,
340338
PyObject *name);
341339
extern void _Py_Specialize_LoadGlobal(PyObject *globals, PyObject *builtins,

Include/internal/pycore_magic_number.h

Lines changed: 1 addition & 2 deletions

0 commit comments

Comments
 (0)