]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-105775: Convert LOAD_CLOSURE to a pseudo-op (#106059)
authorhms <18321626+polynomialherder@users.noreply.github.com>
Thu, 29 Jun 2023 16:34:00 +0000 (10:34 -0600)
committerGitHub <noreply@github.com>
Thu, 29 Jun 2023 16:34:00 +0000 (09:34 -0700)
commit8bff940ad69ce176dcd2b8e91d0b30ddd09945f1
tree1ecf331f5376e764b28a82fdddb33f99a3dee6df
parent3c70d467c148875f2ce17bacab8909ecc3e9fc1d
gh-105775: Convert LOAD_CLOSURE to a pseudo-op (#106059)

This enables super-instruction formation,
removal of checks for uninitialized variables,
and frees up an instruction.
16 files changed:
Doc/library/dis.rst
Include/internal/pycore_opcode.h
Include/opcode.h
Lib/importlib/_bootstrap_external.py
Lib/opcode.py
Lib/test/test_compiler_assemble.py
Lib/test/test_dis.py
Misc/NEWS.d/next/Core and Builtins/2023-06-24-10-34-27.gh-issue-105775.OqjoGV.rst [new file with mode: 0644]
PC/launcher.c
Python/bytecodes.c
Python/compile.c
Python/executor_cases.c.h
Python/flowgraph.c
Python/generated_cases.c.h
Python/opcode_metadata.h
Python/opcode_targets.h