• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // This file is generated by Tools/cases_generator/opcode_id_generator.py
2 // from:
3 //   Python/bytecodes.c
4 // Do not edit!
5 
6 #ifndef Py_OPCODE_IDS_H
7 #define Py_OPCODE_IDS_H
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 /* Instruction opcodes for compiled code */
13 #define CACHE                                    0
14 #define BEFORE_ASYNC_WITH                        1
15 #define BEFORE_WITH                              2
16 #define BINARY_OP_INPLACE_ADD_UNICODE            3
17 #define BINARY_SLICE                             4
18 #define BINARY_SUBSCR                            5
19 #define CHECK_EG_MATCH                           6
20 #define CHECK_EXC_MATCH                          7
21 #define CLEANUP_THROW                            8
22 #define DELETE_SUBSCR                            9
23 #define END_ASYNC_FOR                           10
24 #define END_FOR                                 11
25 #define END_SEND                                12
26 #define EXIT_INIT_CHECK                         13
27 #define FORMAT_SIMPLE                           14
28 #define FORMAT_WITH_SPEC                        15
29 #define GET_AITER                               16
30 #define RESERVED                                17
31 #define GET_ANEXT                               18
32 #define GET_ITER                                19
33 #define GET_LEN                                 20
34 #define GET_YIELD_FROM_ITER                     21
35 #define INTERPRETER_EXIT                        22
36 #define LOAD_ASSERTION_ERROR                    23
37 #define LOAD_BUILD_CLASS                        24
38 #define LOAD_LOCALS                             25
39 #define MAKE_FUNCTION                           26
40 #define MATCH_KEYS                              27
41 #define MATCH_MAPPING                           28
42 #define MATCH_SEQUENCE                          29
43 #define NOP                                     30
44 #define POP_EXCEPT                              31
45 #define POP_TOP                                 32
46 #define PUSH_EXC_INFO                           33
47 #define PUSH_NULL                               34
48 #define RETURN_GENERATOR                        35
49 #define RETURN_VALUE                            36
50 #define SETUP_ANNOTATIONS                       37
51 #define STORE_SLICE                             38
52 #define STORE_SUBSCR                            39
53 #define TO_BOOL                                 40
54 #define UNARY_INVERT                            41
55 #define UNARY_NEGATIVE                          42
56 #define UNARY_NOT                               43
57 #define WITH_EXCEPT_START                       44
58 #define BINARY_OP                               45
59 #define BUILD_CONST_KEY_MAP                     46
60 #define BUILD_LIST                              47
61 #define BUILD_MAP                               48
62 #define BUILD_SET                               49
63 #define BUILD_SLICE                             50
64 #define BUILD_STRING                            51
65 #define BUILD_TUPLE                             52
66 #define CALL                                    53
67 #define CALL_FUNCTION_EX                        54
68 #define CALL_INTRINSIC_1                        55
69 #define CALL_INTRINSIC_2                        56
70 #define CALL_KW                                 57
71 #define COMPARE_OP                              58
72 #define CONTAINS_OP                             59
73 #define CONVERT_VALUE                           60
74 #define COPY                                    61
75 #define COPY_FREE_VARS                          62
76 #define DELETE_ATTR                             63
77 #define DELETE_DEREF                            64
78 #define DELETE_FAST                             65
79 #define DELETE_GLOBAL                           66
80 #define DELETE_NAME                             67
81 #define DICT_MERGE                              68
82 #define DICT_UPDATE                             69
83 #define ENTER_EXECUTOR                          70
84 #define EXTENDED_ARG                            71
85 #define FOR_ITER                                72
86 #define GET_AWAITABLE                           73
87 #define IMPORT_FROM                             74
88 #define IMPORT_NAME                             75
89 #define IS_OP                                   76
90 #define JUMP_BACKWARD                           77
91 #define JUMP_BACKWARD_NO_INTERRUPT              78
92 #define JUMP_FORWARD                            79
93 #define LIST_APPEND                             80
94 #define LIST_EXTEND                             81
95 #define LOAD_ATTR                               82
96 #define LOAD_CONST                              83
97 #define LOAD_DEREF                              84
98 #define LOAD_FAST                               85
99 #define LOAD_FAST_AND_CLEAR                     86
100 #define LOAD_FAST_CHECK                         87
101 #define LOAD_FAST_LOAD_FAST                     88
102 #define LOAD_FROM_DICT_OR_DEREF                 89
103 #define LOAD_FROM_DICT_OR_GLOBALS               90
104 #define LOAD_GLOBAL                             91
105 #define LOAD_NAME                               92
106 #define LOAD_SUPER_ATTR                         93
107 #define MAKE_CELL                               94
108 #define MAP_ADD                                 95
109 #define MATCH_CLASS                             96
110 #define POP_JUMP_IF_FALSE                       97
111 #define POP_JUMP_IF_NONE                        98
112 #define POP_JUMP_IF_NOT_NONE                    99
113 #define POP_JUMP_IF_TRUE                       100
114 #define RAISE_VARARGS                          101
115 #define RERAISE                                102
116 #define RETURN_CONST                           103
117 #define SEND                                   104
118 #define SET_ADD                                105
119 #define SET_FUNCTION_ATTRIBUTE                 106
120 #define SET_UPDATE                             107
121 #define STORE_ATTR                             108
122 #define STORE_DEREF                            109
123 #define STORE_FAST                             110
124 #define STORE_FAST_LOAD_FAST                   111
125 #define STORE_FAST_STORE_FAST                  112
126 #define STORE_GLOBAL                           113
127 #define STORE_NAME                             114
128 #define SWAP                                   115
129 #define UNPACK_EX                              116
130 #define UNPACK_SEQUENCE                        117
131 #define YIELD_VALUE                            118
132 #define RESUME                                 149
133 #define BINARY_OP_ADD_FLOAT                    150
134 #define BINARY_OP_ADD_INT                      151
135 #define BINARY_OP_ADD_UNICODE                  152
136 #define BINARY_OP_MULTIPLY_FLOAT               153
137 #define BINARY_OP_MULTIPLY_INT                 154
138 #define BINARY_OP_SUBTRACT_FLOAT               155
139 #define BINARY_OP_SUBTRACT_INT                 156
140 #define BINARY_SUBSCR_DICT                     157
141 #define BINARY_SUBSCR_GETITEM                  158
142 #define BINARY_SUBSCR_LIST_INT                 159
143 #define BINARY_SUBSCR_STR_INT                  160
144 #define BINARY_SUBSCR_TUPLE_INT                161
145 #define CALL_ALLOC_AND_ENTER_INIT              162
146 #define CALL_BOUND_METHOD_EXACT_ARGS           163
147 #define CALL_BOUND_METHOD_GENERAL              164
148 #define CALL_BUILTIN_CLASS                     165
149 #define CALL_BUILTIN_FAST                      166
150 #define CALL_BUILTIN_FAST_WITH_KEYWORDS        167
151 #define CALL_BUILTIN_O                         168
152 #define CALL_ISINSTANCE                        169
153 #define CALL_LEN                               170
154 #define CALL_LIST_APPEND                       171
155 #define CALL_METHOD_DESCRIPTOR_FAST            172
156 #define CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS 173
157 #define CALL_METHOD_DESCRIPTOR_NOARGS          174
158 #define CALL_METHOD_DESCRIPTOR_O               175
159 #define CALL_NON_PY_GENERAL                    176
160 #define CALL_PY_EXACT_ARGS                     177
161 #define CALL_PY_GENERAL                        178
162 #define CALL_STR_1                             179
163 #define CALL_TUPLE_1                           180
164 #define CALL_TYPE_1                            181
165 #define COMPARE_OP_FLOAT                       182
166 #define COMPARE_OP_INT                         183
167 #define COMPARE_OP_STR                         184
168 #define CONTAINS_OP_DICT                       185
169 #define CONTAINS_OP_SET                        186
170 #define FOR_ITER_GEN                           187
171 #define FOR_ITER_LIST                          188
172 #define FOR_ITER_RANGE                         189
173 #define FOR_ITER_TUPLE                         190
174 #define LOAD_ATTR_CLASS                        191
175 #define LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN      192
176 #define LOAD_ATTR_INSTANCE_VALUE               193
177 #define LOAD_ATTR_METHOD_LAZY_DICT             194
178 #define LOAD_ATTR_METHOD_NO_DICT               195
179 #define LOAD_ATTR_METHOD_WITH_VALUES           196
180 #define LOAD_ATTR_MODULE                       197
181 #define LOAD_ATTR_NONDESCRIPTOR_NO_DICT        198
182 #define LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES    199
183 #define LOAD_ATTR_PROPERTY                     200
184 #define LOAD_ATTR_SLOT                         201
185 #define LOAD_ATTR_WITH_HINT                    202
186 #define LOAD_GLOBAL_BUILTIN                    203
187 #define LOAD_GLOBAL_MODULE                     204
188 #define LOAD_SUPER_ATTR_ATTR                   205
189 #define LOAD_SUPER_ATTR_METHOD                 206
190 #define RESUME_CHECK                           207
191 #define SEND_GEN                               208
192 #define STORE_ATTR_INSTANCE_VALUE              209
193 #define STORE_ATTR_SLOT                        210
194 #define STORE_ATTR_WITH_HINT                   211
195 #define STORE_SUBSCR_DICT                      212
196 #define STORE_SUBSCR_LIST_INT                  213
197 #define TO_BOOL_ALWAYS_TRUE                    214
198 #define TO_BOOL_BOOL                           215
199 #define TO_BOOL_INT                            216
200 #define TO_BOOL_LIST                           217
201 #define TO_BOOL_NONE                           218
202 #define TO_BOOL_STR                            219
203 #define UNPACK_SEQUENCE_LIST                   220
204 #define UNPACK_SEQUENCE_TUPLE                  221
205 #define UNPACK_SEQUENCE_TWO_TUPLE              222
206 #define INSTRUMENTED_RESUME                    236
207 #define INSTRUMENTED_END_FOR                   237
208 #define INSTRUMENTED_END_SEND                  238
209 #define INSTRUMENTED_RETURN_VALUE              239
210 #define INSTRUMENTED_RETURN_CONST              240
211 #define INSTRUMENTED_YIELD_VALUE               241
212 #define INSTRUMENTED_LOAD_SUPER_ATTR           242
213 #define INSTRUMENTED_FOR_ITER                  243
214 #define INSTRUMENTED_CALL                      244
215 #define INSTRUMENTED_CALL_KW                   245
216 #define INSTRUMENTED_CALL_FUNCTION_EX          246
217 #define INSTRUMENTED_INSTRUCTION               247
218 #define INSTRUMENTED_JUMP_FORWARD              248
219 #define INSTRUMENTED_JUMP_BACKWARD             249
220 #define INSTRUMENTED_POP_JUMP_IF_TRUE          250
221 #define INSTRUMENTED_POP_JUMP_IF_FALSE         251
222 #define INSTRUMENTED_POP_JUMP_IF_NONE          252
223 #define INSTRUMENTED_POP_JUMP_IF_NOT_NONE      253
224 #define INSTRUMENTED_LINE                      254
225 #define JUMP                                   256
226 #define JUMP_NO_INTERRUPT                      257
227 #define LOAD_CLOSURE                           258
228 #define LOAD_METHOD                            259
229 #define LOAD_SUPER_METHOD                      260
230 #define LOAD_ZERO_SUPER_ATTR                   261
231 #define LOAD_ZERO_SUPER_METHOD                 262
232 #define POP_BLOCK                              263
233 #define SETUP_CLEANUP                          264
234 #define SETUP_FINALLY                          265
235 #define SETUP_WITH                             266
236 #define STORE_FAST_MAYBE_NULL                  267
237 
238 #define HAVE_ARGUMENT                           44
239 #define MIN_INSTRUMENTED_OPCODE                236
240 
241 #ifdef __cplusplus
242 }
243 #endif
244 #endif /* !Py_OPCODE_IDS_H */
245