diff options
author | Mark Shannon <mark@hotpy.org> | 2021-08-16 11:23:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-16 11:23:13 (GMT) |
commit | 4f51fa9e2d3ea9316e674fb9a9f3e3112e83661c (patch) | |
tree | e53e8b3f636de346a7abba7875aae03d234ce299 /Include/opcode.h | |
parent | 1a511dc92dd10ee8fc2e5da9f52f795924bdc89a (diff) | |
download | cpython-4f51fa9e2d3ea9316e674fb9a9f3e3112e83661c.zip cpython-4f51fa9e2d3ea9316e674fb9a9f3e3112e83661c.tar.gz cpython-4f51fa9e2d3ea9316e674fb9a9f3e3112e83661c.tar.bz2 |
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 'Include/opcode.h')
-rw-r--r-- | Include/opcode.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Include/opcode.h b/Include/opcode.h index 50b7832..3334242 100644 --- a/Include/opcode.h +++ b/Include/opcode.h @@ -153,6 +153,11 @@ extern "C" { #define STORE_ATTR_SPLIT_KEYS 45 #define STORE_ATTR_SLOT 46 #define STORE_ATTR_WITH_HINT 47 +#define LOAD_FAST__LOAD_FAST 48 +#define STORE_FAST__LOAD_FAST 58 +#define LOAD_FAST__LOAD_CONST 80 +#define LOAD_CONST__LOAD_FAST 81 +#define STORE_FAST__STORE_FAST 87 #ifdef NEED_OPCODE_JUMP_TABLES static uint32_t _PyOpcode_RelativeJump[8] = { 0U, |