]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-118095: Use broader specializations of CALL in tier 1, for better tier 2 support...
authorMark Shannon <mark@hotpy.org>
Sat, 4 May 2024 11:11:11 +0000 (12:11 +0100)
committerGitHub <noreply@github.com>
Sat, 4 May 2024 11:11:11 +0000 (12:11 +0100)
commit1ab6356ebec25f216a0eddbd81225abcb93f2d55
tree86b24ff50b131570819da11ae13ddc9a76a9c6d1
parent00da0afa0d98ce1fae67f7258c7f3db2b81a07e7
GH-118095: Use broader specializations of CALL in tier 1, for better tier 2 support of calls. (GH-118322)

* Add CALL_PY_GENERAL, CALL_BOUND_METHOD_GENERAL and call CALL_NON_PY_GENERAL specializations.

* Remove CALL_PY_WITH_DEFAULTS specialization

* Use CALL_NON_PY_GENERAL in more cases when otherwise failing to specialize
19 files changed:
Include/internal/pycore_frame.h
Include/internal/pycore_opcode_metadata.h
Include/internal/pycore_uop_ids.h
Include/internal/pycore_uop_metadata.h
Include/opcode_ids.h
Lib/_opcode_metadata.py
Lib/test/test_call.py
Lib/test/test_dis.py
Lib/test/test_dynamic.py
Lib/test/test_glob.py
Python/bytecodes.c
Python/ceval.c
Python/executor_cases.c.h
Python/generated_cases.c.h
Python/opcode_targets.h
Python/optimizer.c
Python/optimizer_bytecodes.c
Python/optimizer_cases.c.h
Python/specialize.c