]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106701: Move the hand-written Tier 2 uops to bytecodes.c (#106702)
authorGuido van Rossum <guido@python.org>
Thu, 13 Jul 2023 19:14:51 +0000 (12:14 -0700)
committerGitHub <noreply@github.com>
Thu, 13 Jul 2023 19:14:51 +0000 (12:14 -0700)
commite6e0ea0113748db1e9fe675be6db9041cd5cce1f
treeea6e1d899151e58ec7b88a7e2e969470eb9ef042
parent2f3ee02c22c4b42bf6075a75104c3cfbb4eb4c86
gh-106701: Move the hand-written Tier 2 uops to bytecodes.c (#106702)

This moves EXIT_TRACE, SAVE_IP, JUMP_TO_TOP, and
_POP_JUMP_IF_{FALSE,TRUE} from ceval.c to bytecodes.c.

They are no less special than before, but this way
they are discoverable o the copy-and-patch tooling.
Include/internal/pycore_opcode_metadata.h
Python/bytecodes.c
Python/ceval.c
Python/executor_cases.c.h
Tools/cases_generator/generate_cases.py