PageRenderTime 37ms CodeModel.GetById 24ms app.highlight 10ms RepoModel.GetById 1ms app.codeStats 0ms

/Python/opcode_targets.h

http://unladen-swallow.googlecode.com/
C++ Header | 258 lines | 258 code | 0 blank | 0 comment | 0 complexity | 0e95e9191eff368bb560ed173e487662 MD5 | raw file
  1static void *opcode_targets[256] = {
  2	&&_unknown_opcode,
  3	&&TARGET_POP_TOP,
  4	&&TARGET_ROT_TWO,
  5	&&TARGET_ROT_THREE,
  6	&&TARGET_DUP_TOP,
  7	&&TARGET_ROT_FOUR,
  8	&&_unknown_opcode,
  9	&&_unknown_opcode,
 10	&&_unknown_opcode,
 11	&&TARGET_NOP,
 12	&&TARGET_UNARY_POSITIVE,
 13	&&TARGET_UNARY_NEGATIVE,
 14	&&TARGET_UNARY_NOT,
 15	&&TARGET_UNARY_CONVERT,
 16	&&_unknown_opcode,
 17	&&TARGET_UNARY_INVERT,
 18	&&TARGET_DUP_TOP_TWO,
 19	&&TARGET_DUP_TOP_THREE,
 20	&&TARGET_LIST_APPEND,
 21	&&TARGET_BINARY_POWER,
 22	&&TARGET_BINARY_MULTIPLY,
 23	&&TARGET_BINARY_DIVIDE,
 24	&&TARGET_BINARY_MODULO,
 25	&&TARGET_BINARY_ADD,
 26	&&TARGET_BINARY_SUBTRACT,
 27	&&TARGET_BINARY_SUBSCR,
 28	&&TARGET_BINARY_FLOOR_DIVIDE,
 29	&&TARGET_BINARY_TRUE_DIVIDE,
 30	&&TARGET_INPLACE_FLOOR_DIVIDE,
 31	&&TARGET_INPLACE_TRUE_DIVIDE,
 32	&&TARGET_SLICE_NONE,
 33	&&TARGET_SLICE_LEFT,
 34	&&TARGET_SLICE_RIGHT,
 35	&&TARGET_SLICE_BOTH,
 36	&&TARGET_RAISE_VARARGS_ZERO,
 37	&&TARGET_RAISE_VARARGS_ONE,
 38	&&TARGET_RAISE_VARARGS_TWO,
 39	&&TARGET_RAISE_VARARGS_THREE,
 40	&&TARGET_BUILD_SLICE_TWO,
 41	&&TARGET_BUILD_SLICE_THREE,
 42	&&TARGET_STORE_SLICE_NONE,
 43	&&TARGET_STORE_SLICE_LEFT,
 44	&&TARGET_STORE_SLICE_RIGHT,
 45	&&TARGET_STORE_SLICE_BOTH,
 46	&&_unknown_opcode,
 47	&&_unknown_opcode,
 48	&&_unknown_opcode,
 49	&&_unknown_opcode,
 50	&&_unknown_opcode,
 51	&&_unknown_opcode,
 52	&&TARGET_DELETE_SLICE_NONE,
 53	&&TARGET_DELETE_SLICE_LEFT,
 54	&&TARGET_DELETE_SLICE_RIGHT,
 55	&&TARGET_DELETE_SLICE_BOTH,
 56	&&TARGET_STORE_MAP,
 57	&&TARGET_INPLACE_ADD,
 58	&&TARGET_INPLACE_SUBTRACT,
 59	&&TARGET_INPLACE_MULTIPLY,
 60	&&TARGET_INPLACE_DIVIDE,
 61	&&TARGET_INPLACE_MODULO,
 62	&&TARGET_STORE_SUBSCR,
 63	&&TARGET_DELETE_SUBSCR,
 64	&&TARGET_BINARY_LSHIFT,
 65	&&TARGET_BINARY_RSHIFT,
 66	&&TARGET_BINARY_AND,
 67	&&TARGET_BINARY_XOR,
 68	&&TARGET_BINARY_OR,
 69	&&TARGET_INPLACE_POWER,
 70	&&TARGET_GET_ITER,
 71	&&_unknown_opcode,
 72	&&_unknown_opcode,
 73	&&_unknown_opcode,
 74	&&_unknown_opcode,
 75	&&_unknown_opcode,
 76	&&_unknown_opcode,
 77	&&TARGET_INPLACE_LSHIFT,
 78	&&TARGET_INPLACE_RSHIFT,
 79	&&TARGET_INPLACE_AND,
 80	&&TARGET_INPLACE_XOR,
 81	&&TARGET_INPLACE_OR,
 82	&&TARGET_BREAK_LOOP,
 83	&&TARGET_WITH_CLEANUP,
 84	&&_unknown_opcode,
 85	&&TARGET_RETURN_VALUE,
 86	&&_unknown_opcode,
 87	&&_unknown_opcode,
 88	&&TARGET_YIELD_VALUE,
 89	&&TARGET_POP_BLOCK,
 90	&&TARGET_END_FINALLY,
 91	&&TARGET_IMPORT_NAME,
 92	&&TARGET_STORE_NAME,
 93	&&TARGET_DELETE_NAME,
 94	&&TARGET_UNPACK_SEQUENCE,
 95	&&TARGET_FOR_ITER,
 96	&&_unknown_opcode,
 97	&&TARGET_STORE_ATTR,
 98	&&TARGET_DELETE_ATTR,
 99	&&TARGET_STORE_GLOBAL,
100	&&TARGET_DELETE_GLOBAL,
101	&&_unknown_opcode,
102	&&TARGET_LOAD_CONST,
103	&&TARGET_LOAD_NAME,
104	&&TARGET_BUILD_TUPLE,
105	&&TARGET_BUILD_LIST,
106	&&TARGET_BUILD_MAP,
107	&&TARGET_LOAD_ATTR,
108	&&TARGET_COMPARE_OP,
109	&&_unknown_opcode,
110	&&_unknown_opcode,
111	&&TARGET_LOAD_METHOD,
112	&&TARGET_JUMP_FORWARD,
113	&&TARGET_JUMP_IF_FALSE_OR_POP,
114	&&TARGET_JUMP_IF_TRUE_OR_POP,
115	&&TARGET_JUMP_ABSOLUTE,
116	&&TARGET_POP_JUMP_IF_FALSE,
117	&&TARGET_POP_JUMP_IF_TRUE,
118	&&TARGET_LOAD_GLOBAL,
119	&&_unknown_opcode,
120	&&_unknown_opcode,
121	&&TARGET_CONTINUE_LOOP,
122	&&TARGET_SETUP_LOOP,
123	&&TARGET_SETUP_EXCEPT,
124	&&TARGET_SETUP_FINALLY,
125	&&_unknown_opcode,
126	&&TARGET_LOAD_FAST,
127	&&TARGET_STORE_FAST,
128	&&TARGET_DELETE_FAST,
129	&&_unknown_opcode,
130	&&_unknown_opcode,
131	&&_unknown_opcode,
132	&&_unknown_opcode,
133	&&TARGET_CALL_FUNCTION,
134	&&_unknown_opcode,
135	&&TARGET_CALL_METHOD,
136	&&TARGET_MAKE_CLOSURE,
137	&&TARGET_LOAD_CLOSURE,
138	&&TARGET_LOAD_DEREF,
139	&&TARGET_STORE_DEREF,
140	&&_unknown_opcode,
141	&&_unknown_opcode,
142	&&TARGET_CALL_FUNCTION_VAR,
143	&&TARGET_CALL_FUNCTION_KW,
144	&&TARGET_CALL_FUNCTION_VAR_KW,
145	&&TARGET_EXTENDED_ARG,
146	&&_unknown_opcode,
147	&&_unknown_opcode,
148	&&_unknown_opcode,
149	&&_unknown_opcode,
150	&&_unknown_opcode,
151	&&_unknown_opcode,
152	&&_unknown_opcode,
153	&&_unknown_opcode,
154	&&_unknown_opcode,
155	&&_unknown_opcode,
156	&&_unknown_opcode,
157	&&_unknown_opcode,
158	&&_unknown_opcode,
159	&&_unknown_opcode,
160	&&_unknown_opcode,
161	&&_unknown_opcode,
162	&&_unknown_opcode,
163	&&_unknown_opcode,
164	&&_unknown_opcode,
165	&&_unknown_opcode,
166	&&_unknown_opcode,
167	&&_unknown_opcode,
168	&&_unknown_opcode,
169	&&_unknown_opcode,
170	&&_unknown_opcode,
171	&&_unknown_opcode,
172	&&_unknown_opcode,
173	&&_unknown_opcode,
174	&&_unknown_opcode,
175	&&_unknown_opcode,
176	&&_unknown_opcode,
177	&&_unknown_opcode,
178	&&_unknown_opcode,
179	&&_unknown_opcode,
180	&&_unknown_opcode,
181	&&_unknown_opcode,
182	&&_unknown_opcode,
183	&&_unknown_opcode,
184	&&_unknown_opcode,
185	&&_unknown_opcode,
186	&&_unknown_opcode,
187	&&_unknown_opcode,
188	&&_unknown_opcode,
189	&&_unknown_opcode,
190	&&_unknown_opcode,
191	&&_unknown_opcode,
192	&&_unknown_opcode,
193	&&_unknown_opcode,
194	&&_unknown_opcode,
195	&&_unknown_opcode,
196	&&_unknown_opcode,
197	&&_unknown_opcode,
198	&&_unknown_opcode,
199	&&_unknown_opcode,
200	&&_unknown_opcode,
201	&&_unknown_opcode,
202	&&_unknown_opcode,
203	&&_unknown_opcode,
204	&&_unknown_opcode,
205	&&_unknown_opcode,
206	&&_unknown_opcode,
207	&&_unknown_opcode,
208	&&_unknown_opcode,
209	&&_unknown_opcode,
210	&&_unknown_opcode,
211	&&_unknown_opcode,
212	&&_unknown_opcode,
213	&&_unknown_opcode,
214	&&_unknown_opcode,
215	&&_unknown_opcode,
216	&&_unknown_opcode,
217	&&_unknown_opcode,
218	&&_unknown_opcode,
219	&&_unknown_opcode,
220	&&_unknown_opcode,
221	&&_unknown_opcode,
222	&&_unknown_opcode,
223	&&_unknown_opcode,
224	&&_unknown_opcode,
225	&&_unknown_opcode,
226	&&_unknown_opcode,
227	&&_unknown_opcode,
228	&&_unknown_opcode,
229	&&_unknown_opcode,
230	&&_unknown_opcode,
231	&&_unknown_opcode,
232	&&_unknown_opcode,
233	&&_unknown_opcode,
234	&&_unknown_opcode,
235	&&_unknown_opcode,
236	&&_unknown_opcode,
237	&&_unknown_opcode,
238	&&_unknown_opcode,
239	&&_unknown_opcode,
240	&&_unknown_opcode,
241	&&_unknown_opcode,
242	&&_unknown_opcode,
243	&&_unknown_opcode,
244	&&_unknown_opcode,
245	&&_unknown_opcode,
246	&&_unknown_opcode,
247	&&_unknown_opcode,
248	&&_unknown_opcode,
249	&&_unknown_opcode,
250	&&_unknown_opcode,
251	&&_unknown_opcode,
252	&&_unknown_opcode,
253	&&_unknown_opcode,
254	&&_unknown_opcode,
255	&&_unknown_opcode,
256	&&_unknown_opcode,
257	&&_unknown_opcode
258};