]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106581: Split CALL_BOUND_METHOD_EXACT_ARGS into uops (#108462)
authorGuido van Rossum <guido@python.org>
Fri, 25 Aug 2023 00:36:00 +0000 (17:36 -0700)
committerGitHub <noreply@github.com>
Fri, 25 Aug 2023 00:36:00 +0000 (17:36 -0700)
commitddf66b54edea1ea59fdf8a496ed0b64e16424375
tree0c5d6ae41b76c8a767e87c3737145d02ad1ec7a9
parent546cab84448b892c92e68d9c1a3d3b58c13b3463
gh-106581: Split CALL_BOUND_METHOD_EXACT_ARGS into uops (#108462)

Instead of using `GO_TO_INSTRUCTION(CALL_PY_EXACT_ARGS)` we just add the macro elements of the latter to the macro for the former. This requires lengthening the uops array in struct opcode_macro_expansion. (It also required changes to stacking.py that were merged already.)
Include/internal/pycore_opcode_metadata.h
Python/abstract_interp_cases.c.h
Python/bytecodes.c
Python/executor_cases.c.h
Python/generated_cases.c.h
Tools/cases_generator/generate_cases.py