diff options
author | Ken Jin <kenjin@python.org> | 2022-12-23 16:26:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-23 16:26:42 (GMT) |
commit | c3c7848a48b74a321632202e4bdcf2f465fb1cc6 (patch) | |
tree | c880b1a9a096b627e85d643db00704e03f041446 /Include/opcode.h | |
parent | 7fc7909677759fd0cb9d30cd7ff839afd3973325 (diff) | |
download | cpython-c3c7848a48b74a321632202e4bdcf2f465fb1cc6.zip cpython-c3c7848a48b74a321632202e4bdcf2f465fb1cc6.tar.gz cpython-c3c7848a48b74a321632202e4bdcf2f465fb1cc6.tar.bz2 |
gh-100288: Specialise LOAD_ATTR_METHOD for managed dictionaries (GH-100289)
Diffstat (limited to 'Include/opcode.h')
-rw-r--r-- | Include/opcode.h | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/Include/opcode.h b/Include/opcode.h index 888250e..088c1a5 100644 --- a/Include/opcode.h +++ b/Include/opcode.h @@ -174,23 +174,24 @@ extern "C" { #define LOAD_ATTR_WITH_HINT 78 #define LOAD_ATTR_METHOD_LAZY_DICT 79 #define LOAD_ATTR_METHOD_NO_DICT 80 -#define LOAD_ATTR_METHOD_WITH_DICT 81 -#define LOAD_ATTR_METHOD_WITH_VALUES 86 -#define LOAD_CONST__LOAD_FAST 113 -#define LOAD_FAST__LOAD_CONST 121 -#define LOAD_FAST__LOAD_FAST 141 -#define LOAD_GLOBAL_BUILTIN 143 -#define LOAD_GLOBAL_MODULE 153 -#define STORE_ATTR_INSTANCE_VALUE 154 -#define STORE_ATTR_SLOT 158 -#define STORE_ATTR_WITH_HINT 159 -#define STORE_FAST__LOAD_FAST 160 -#define STORE_FAST__STORE_FAST 161 -#define STORE_SUBSCR_DICT 166 -#define STORE_SUBSCR_LIST_INT 167 -#define UNPACK_SEQUENCE_LIST 168 -#define UNPACK_SEQUENCE_TUPLE 169 -#define UNPACK_SEQUENCE_TWO_TUPLE 170 +#define LOAD_ATTR_METHOD_MANAGED_DICT 81 +#define LOAD_ATTR_METHOD_WITH_DICT 86 +#define LOAD_ATTR_METHOD_WITH_VALUES 113 +#define LOAD_CONST__LOAD_FAST 121 +#define LOAD_FAST__LOAD_CONST 141 +#define LOAD_FAST__LOAD_FAST 143 +#define LOAD_GLOBAL_BUILTIN 153 +#define LOAD_GLOBAL_MODULE 154 +#define STORE_ATTR_INSTANCE_VALUE 158 +#define STORE_ATTR_SLOT 159 +#define STORE_ATTR_WITH_HINT 160 +#define STORE_FAST__LOAD_FAST 161 +#define STORE_FAST__STORE_FAST 166 +#define STORE_SUBSCR_DICT 167 +#define STORE_SUBSCR_LIST_INT 168 +#define UNPACK_SEQUENCE_LIST 169 +#define UNPACK_SEQUENCE_TUPLE 170 +#define UNPACK_SEQUENCE_TWO_TUPLE 173 #define DO_TRACING 255 #define HAS_ARG(op) ((((op) >= HAVE_ARGUMENT) && (!IS_PSEUDO_OPCODE(op)))\ |