diff options
author | hms <18321626+polynomialherder@users.noreply.github.com> | 2023-06-29 10:34:00 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-29 09:34:00 -0700 |
commit | 8bff940ad69ce176dcd2b8e91d0b30ddd09945f1 (patch) | |
tree | 1ecf331f5376e764b28a82fdddb33f99a3dee6df /Python/opcode_targets.h | |
parent | 3c70d467c148875f2ce17bacab8909ecc3e9fc1d (diff) | |
download | cpython-8bff940ad69ce176dcd2b8e91d0b30ddd09945f1.tar.gz cpython-8bff940ad69ce176dcd2b8e91d0b30ddd09945f1.zip |
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_targets.h')
-rw-r--r-- | Python/opcode_targets.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Python/opcode_targets.h b/Python/opcode_targets.h index 781d72fa7f5..8561d9d4a36 100644 --- a/Python/opcode_targets.h +++ b/Python/opcode_targets.h @@ -135,7 +135,7 @@ static void *opcode_targets[256] = { &&TARGET_BUILD_SLICE, &&TARGET_JUMP_BACKWARD_NO_INTERRUPT, &&TARGET_MAKE_CELL, - &&TARGET_LOAD_CLOSURE, + &&TARGET_CALL_BUILTIN_FAST_WITH_KEYWORDS, &&TARGET_LOAD_DEREF, &&TARGET_STORE_DEREF, &&TARGET_DELETE_DEREF, @@ -147,26 +147,26 @@ static void *opcode_targets[256] = { &&TARGET_LIST_APPEND, &&TARGET_SET_ADD, &&TARGET_MAP_ADD, - &&TARGET_CALL_BUILTIN_FAST_WITH_KEYWORDS, + &&TARGET_CALL_NO_KW_LEN, &&TARGET_COPY_FREE_VARS, &&TARGET_YIELD_VALUE, &&TARGET_RESUME, &&TARGET_MATCH_CLASS, - &&TARGET_CALL_NO_KW_LEN, &&TARGET_CALL_NO_KW_ISINSTANCE, &&TARGET_CALL_NO_KW_LIST_APPEND, + &&TARGET_CALL_NO_KW_METHOD_DESCRIPTOR_O, &&TARGET_BUILD_CONST_KEY_MAP, &&TARGET_BUILD_STRING, &&TARGET_CONVERT_VALUE, - &&TARGET_CALL_NO_KW_METHOD_DESCRIPTOR_O, &&TARGET_CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS, &&TARGET_CALL_NO_KW_METHOD_DESCRIPTOR_NOARGS, + &&TARGET_CALL_NO_KW_METHOD_DESCRIPTOR_FAST, &&TARGET_LIST_EXTEND, &&TARGET_SET_UPDATE, &&TARGET_DICT_MERGE, &&TARGET_DICT_UPDATE, - &&TARGET_CALL_NO_KW_METHOD_DESCRIPTOR_FAST, &&TARGET_CALL_NO_KW_ALLOC_AND_ENTER_INIT, + &&_unknown_opcode, &&TARGET_LOAD_FAST_LOAD_FAST, &&TARGET_STORE_FAST_LOAD_FAST, &&TARGET_STORE_FAST_STORE_FAST, |