diff options
| author | hms <18321626+polynomialherder@users.noreply.github.com> | 2023-06-29 16:34:00 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-29 16:34:00 (GMT) |
| commit | 8bff940ad69ce176dcd2b8e91d0b30ddd09945f1 (patch) | |
| tree | 1ecf331f5376e764b28a82fdddb33f99a3dee6df /Python/opcode_metadata.h | |
| parent | 3c70d467c148875f2ce17bacab8909ecc3e9fc1d (diff) | |
| download | cpython-8bff940ad69ce176dcd2b8e91d0b30ddd09945f1.zip cpython-8bff940ad69ce176dcd2b8e91d0b30ddd09945f1.tar.gz cpython-8bff940ad69ce176dcd2b8e91d0b30ddd09945f1.tar.bz2 | |
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.
Diffstat (limited to 'Python/opcode_metadata.h')
| -rw-r--r-- | Python/opcode_metadata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/opcode_metadata.h b/Python/opcode_metadata.h index cfdc092..991006c 100644 --- a/Python/opcode_metadata.h +++ b/Python/opcode_metadata.h @@ -5,6 +5,7 @@ #define IS_PSEUDO_INSTR(OP) \ + ((OP) == LOAD_CLOSURE) || \ ((OP) == STORE_FAST_MAYBE_NULL) || \ ((OP) == LOAD_SUPER_METHOD) || \ ((OP) == LOAD_ZERO_SUPER_METHOD) || \ |
