]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-104584: Move super-instruction special-casing to generator (#106500)
authorGuido van Rossum <guido@python.org>
Fri, 7 Jul 2023 17:42:10 +0000 (10:42 -0700)
committerGitHub <noreply@github.com>
Fri, 7 Jul 2023 17:42:10 +0000 (17:42 +0000)
commit11038c56ad80dde2cdf65190e78a59d579c94b3a
tree2472d506be753af094dace3a78841a39f0412910
parent363f4f99c524a6d763d1548986a79c42cc7ca292
gh-104584: Move super-instruction special-casing to generator (#106500)

Instead of special-casing specific instructions,
we add a few more special values to the 'size' field of expansions,
so in the future we can automatically handle
additional super-instructions in the generator.
Python/opcode_metadata.h
Python/optimizer.c
Tools/cases_generator/generate_cases.py