diff options
author | Mark Shannon <mark@hotpy.org> | 2021-08-16 12:23:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-16 12:23:13 +0100 |
commit | 4f51fa9e2d3ea9316e674fb9a9f3e3112e83661c (patch) | |
tree | e53e8b3f636de346a7abba7875aae03d234ce299 /Python/opcode_targets.h | |
parent | 1a511dc92dd10ee8fc2e5da9f52f795924bdc89a (diff) | |
download | cpython-git-4f51fa9e2d3ea9316e674fb9a9f3e3112e83661c.tar.gz |
bpo-44900: Add five superinstructions. (GH-27741)
* LOAD_FAST LOAD_FAST
* STORE_FAST LOAD_FAST
* LOAD_FAST LOAD_CONST
* LOAD_CONST LOAD_FAST
* STORE_FAST STORE_FAST
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 24ee44f2d0..c8036a63f2 100644 --- a/Python/opcode_targets.h +++ b/Python/opcode_targets.h @@ -47,7 +47,7 @@ static void *opcode_targets[256] = { &&TARGET_STORE_ATTR_SPLIT_KEYS, &&TARGET_STORE_ATTR_SLOT, &&TARGET_STORE_ATTR_WITH_HINT, - &&_unknown_opcode, + &&TARGET_LOAD_FAST__LOAD_FAST, &&TARGET_WITH_EXCEPT_START, &&TARGET_GET_AITER, &&TARGET_GET_ANEXT, @@ -57,7 +57,7 @@ static void *opcode_targets[256] = { &&TARGET_INPLACE_ADD, &&TARGET_INPLACE_SUBTRACT, &&TARGET_INPLACE_MULTIPLY, - &&_unknown_opcode, + &&TARGET_STORE_FAST__LOAD_FAST, &&TARGET_INPLACE_MODULO, &&TARGET_STORE_SUBSCR, &&TARGET_DELETE_SUBSCR, @@ -79,14 +79,14 @@ static void *opcode_targets[256] = { &&TARGET_INPLACE_AND, &&TARGET_INPLACE_XOR, &&TARGET_INPLACE_OR, - &&_unknown_opcode, - &&_unknown_opcode, + &&TARGET_LOAD_FAST__LOAD_CONST, + &&TARGET_LOAD_CONST__LOAD_FAST, &&TARGET_LIST_TO_TUPLE, &&TARGET_RETURN_VALUE, &&TARGET_IMPORT_STAR, &&TARGET_SETUP_ANNOTATIONS, &&TARGET_YIELD_VALUE, - &&_unknown_opcode, + &&TARGET_STORE_FAST__STORE_FAST, &&_unknown_opcode, &&TARGET_POP_EXCEPT, &&TARGET_STORE_NAME, |