62#define def(id, size, n_pop, n_push, f) DEF(id, size, n_pop, n_push, f)
68DEF( push_i32, 5, 0, 1,
i32)
69DEF( push_const, 5, 0, 1,
const)
70DEF( fclosure, 5, 0, 1, const)
71DEF(push_atom_value, 5, 0, 1, atom)
72DEF( private_symbol, 5, 0, 1, atom)
79DEF( special_object, 2, 0, 1,
u8)
102DEF(call_constructor, 3, 2, 1, npop)
103DEF( call, 3, 1, 1, npop)
104DEF( tail_call, 3, 1, 0, npop)
105DEF( call_method, 3, 2, 1, npop)
106DEF(tail_call_method, 3, 2, 0, npop)
107DEF( array_from, 3, 0, 1, npop)
110DEF( return_undef, 1, 0, 0,
none)
111DEF(check_ctor_return, 1, 1, 2,
none)
114DEF( check_brand, 1, 2, 2,
none)
116DEF( return_async, 1, 1, 0,
none)
118DEF( throw_error, 6, 0, 0, atom_u8)
119DEF( eval, 5, 1, 1, npop_u16)
120DEF( apply_eval, 3, 2, 1,
u16)
126DEF( get_var_undef, 3, 0, 1, var_ref)
127DEF( get_var, 3, 0, 1, var_ref)
128DEF( put_var, 3, 1, 0, var_ref)
129DEF( put_var_init, 3, 1, 0, var_ref)
131DEF( get_ref_value, 1, 2, 3,
none)
132DEF( put_ref_value, 1, 3, 0,
none)
134DEF( get_field, 5, 1, 1, atom)
135DEF( get_field2, 5, 1, 2, atom)
136DEF( put_field, 5, 2, 0, atom)
137DEF( get_private_field, 1, 2, 1,
none)
138DEF( put_private_field, 1, 3, 0,
none)
139DEF(define_private_field, 1, 3, 1,
none)
140DEF( get_array_el, 1, 2, 1,
none)
141DEF( get_array_el2, 1, 2, 2,
none)
142DEF( get_array_el3, 1, 2, 3,
none)
143DEF( put_array_el, 1, 3, 0,
none)
144DEF(get_super_value, 1, 3, 1,
none)
145DEF(put_super_value, 1, 4, 0,
none)
146DEF( define_field, 5, 2, 1, atom)
147DEF( set_name, 5, 1, 1, atom)
148DEF(set_name_computed, 1, 2, 2,
none)
150DEF(set_home_object, 1, 2, 2,
none)
151DEF(define_array_el, 1, 3, 2,
none)
153DEF(copy_data_properties, 2, 3, 3,
u8)
154DEF( define_method, 6, 2, 1, atom_u8)
155DEF(define_method_computed, 2, 3, 1,
u8)
156DEF( define_class, 6, 2, 2, atom_u8)
157DEF( define_class_computed, 6, 3, 3, atom_u8)
159DEF( get_loc, 3, 0, 1, loc)
160DEF( put_loc, 3, 1, 0, loc)
161DEF( set_loc, 3, 1, 1, loc)
162DEF( get_arg, 3, 0, 1,
arg)
163DEF( put_arg, 3, 1, 0,
arg)
164DEF( set_arg, 3, 1, 1,
arg)
165DEF( get_var_ref, 3, 0, 1, var_ref)
166DEF( put_var_ref, 3, 1, 0, var_ref)
167DEF( set_var_ref, 3, 1, 1, var_ref)
168DEF(set_loc_uninitialized, 3, 0, 0, loc)
169DEF( get_loc_check, 3, 0, 1, loc)
170DEF( put_loc_check, 3, 1, 0, loc)
171DEF( set_loc_check, 3, 1, 1, loc)
172DEF( put_loc_check_init, 3, 1, 0, loc)
173DEF(get_loc_checkthis, 3, 0, 1, loc)
174DEF(get_var_ref_check, 3, 0, 1, var_ref)
175DEF(put_var_ref_check, 3, 1, 0, var_ref)
176DEF(put_var_ref_check_init, 3, 1, 0, var_ref)
177DEF( close_loc, 3, 0, 0, loc)
178DEF( if_false, 5, 1, 0, label)
179DEF( if_true, 5, 1, 0, label)
180DEF( goto, 5, 0, 0, label)
181DEF( catch, 5, 0, 1, label)
182DEF( gosub, 5, 0, 0, label)
190DEF( with_get_var, 10, 1, 0, atom_label_u8)
191DEF( with_put_var, 10, 2, 1, atom_label_u8)
192DEF(with_delete_var, 10, 1, 0, atom_label_u8)
193DEF( with_make_ref, 10, 1, 0, atom_label_u8)
194DEF( with_get_ref, 10, 1, 0, atom_label_u8)
196DEF( make_loc_ref, 7, 0, 2, atom_u16)
197DEF( make_arg_ref, 7, 0, 2, atom_u16)
198DEF(make_var_ref_ref, 7, 0, 2, atom_u16)
199DEF( make_var_ref, 5, 0, 2, atom)
201DEF( for_in_start, 1, 1, 1,
none)
202DEF( for_of_start, 1, 1, 3,
none)
203DEF(for_await_of_start, 1, 1, 3,
none)
204DEF( for_in_next, 1, 1, 3,
none)
205DEF( for_of_next, 2, 3, 5,
u8)
206DEF(for_await_of_next, 1, 3, 4,
none)
207DEF(iterator_check_object, 1, 1, 1,
none)
208DEF(iterator_get_value_done, 1, 2, 3,
none)
209DEF( iterator_close, 1, 3, 0,
none)
210DEF( iterator_next, 1, 4, 4,
none)
211DEF( iterator_call, 2, 4, 5,
u8)
212DEF( initial_yield, 1, 0, 0,
none)
215DEF(async_yield_star, 1, 1, 2,
none)
225DEF( dec_loc, 2, 0, 0, loc8)
226DEF( inc_loc, 2, 0, 0, loc8)
227DEF( add_loc, 2, 1, 0, loc8)
232DEF( delete_var, 5, 0, 1, atom)
256DEF(is_undefined_or_null, 1, 1, 1,
none)
258DEF(push_bigint_i32, 5, 0, 1,
i32)
264def( enter_scope, 3, 0, 0,
u16)
265def( leave_scope, 3, 0, 0,
u16)
267def( label, 5, 0, 0, label)
271def(scope_get_var_undef, 7, 0, 1, atom_u16)
272def( scope_get_var, 7, 0, 1, atom_u16)
273def( scope_put_var, 7, 1, 0, atom_u16)
274def(scope_delete_var, 7, 0, 1, atom_u16)
275def( scope_make_ref, 11, 0, 2, atom_label_u16)
276def( scope_get_ref, 7, 0, 2, atom_u16)
277def(scope_put_var_init, 7, 0, 2, atom_u16)
278def(scope_get_var_checkthis, 7, 0, 1, atom_u16)
279def(scope_get_private_field, 7, 1, 1, atom_u16)
280def(scope_get_private_field2, 7, 1, 2, atom_u16)
281def(scope_put_private_field, 7, 2, 0, atom_u16)
282def(scope_in_private_field, 7, 1, 1, atom_u16)
283def(get_field_opt_chain, 5, 1, 1, atom)
284def(get_array_el_opt_chain, 1, 2, 1,
none)
285def( set_class_name, 5, 1, 1,
u32)
287def( line_num, 5, 0, 0,
u32)
290DEF( push_minus1, 1, 0, 1, none_int)
291DEF( push_0, 1, 0, 1, none_int)
292DEF( push_1, 1, 0, 1, none_int)
293DEF( push_2, 1, 0, 1, none_int)
294DEF( push_3, 1, 0, 1, none_int)
295DEF( push_4, 1, 0, 1, none_int)
296DEF( push_5, 1, 0, 1, none_int)
297DEF( push_6, 1, 0, 1, none_int)
298DEF( push_7, 1, 0, 1, none_int)
299DEF( push_i8, 2, 0, 1,
i8)
300DEF( push_i16, 3, 0, 1,
i16)
301DEF( push_const8, 2, 0, 1, const8)
302DEF( fclosure8, 2, 0, 1, const8)
303DEF(push_empty_string, 1, 0, 1,
none)
305DEF( get_loc8, 2, 0, 1, loc8)
306DEF( put_loc8, 2, 1, 0, loc8)
307DEF( set_loc8, 2, 1, 1, loc8)
309DEF( get_loc0, 1, 0, 1, none_loc)
310DEF( get_loc1, 1, 0, 1, none_loc)
311DEF( get_loc2, 1, 0, 1, none_loc)
312DEF( get_loc3, 1, 0, 1, none_loc)
313DEF( put_loc0, 1, 1, 0, none_loc)
314DEF( put_loc1, 1, 1, 0, none_loc)
315DEF( put_loc2, 1, 1, 0, none_loc)
316DEF( put_loc3, 1, 1, 0, none_loc)
317DEF( set_loc0, 1, 1, 1, none_loc)
318DEF( set_loc1, 1, 1, 1, none_loc)
319DEF( set_loc2, 1, 1, 1, none_loc)
320DEF( set_loc3, 1, 1, 1, none_loc)
321DEF( get_arg0, 1, 0, 1, none_arg)
322DEF( get_arg1, 1, 0, 1, none_arg)
323DEF( get_arg2, 1, 0, 1, none_arg)
324DEF( get_arg3, 1, 0, 1, none_arg)
325DEF( put_arg0, 1, 1, 0, none_arg)
326DEF( put_arg1, 1, 1, 0, none_arg)
327DEF( put_arg2, 1, 1, 0, none_arg)
328DEF( put_arg3, 1, 1, 0, none_arg)
329DEF( set_arg0, 1, 1, 1, none_arg)
330DEF( set_arg1, 1, 1, 1, none_arg)
331DEF( set_arg2, 1, 1, 1, none_arg)
332DEF( set_arg3, 1, 1, 1, none_arg)
333DEF( get_var_ref0, 1, 0, 1, none_var_ref)
334DEF( get_var_ref1, 1, 0, 1, none_var_ref)
335DEF( get_var_ref2, 1, 0, 1, none_var_ref)
336DEF( get_var_ref3, 1, 0, 1, none_var_ref)
337DEF( put_var_ref0, 1, 1, 0, none_var_ref)
338DEF( put_var_ref1, 1, 1, 0, none_var_ref)
339DEF( put_var_ref2, 1, 1, 0, none_var_ref)
340DEF( put_var_ref3, 1, 1, 0, none_var_ref)
341DEF( set_var_ref0, 1, 1, 1, none_var_ref)
342DEF( set_var_ref1, 1, 1, 1, none_var_ref)
343DEF( set_var_ref2, 1, 1, 1, none_var_ref)
344DEF( set_var_ref3, 1, 1, 1, none_var_ref)
348DEF( if_false8, 2, 1, 0, label8)
349DEF( if_true8, 2, 1, 0, label8)
350DEF( goto8, 2, 0, 0, label8)
351DEF( goto16, 3, 0, 0, label16)
353DEF( call0, 1, 1, 1, npopx)
354DEF( call1, 1, 1, 1, npopx)
355DEF( call2, 1, 1, 1, npopx)
356DEF( call3, 1, 1, 1, npopx)
358DEF( is_undefined, 1, 1, 1,
none)
360DEF(typeof_is_undefined, 1, 1, 1,
none)
361DEF( typeof_is_function, 1, 1, 1,
none)
signed char i8
Definition basetype.h:30
signed int i32
Definition basetype.h:34
signed short i16
Definition basetype.h:32
@ none
Definition d_mode.h:39
#define DEF(id, size)
Definition libregexp.c:53
uint8_t u8
Definition kernel.h:14
uint16_t u16
Definition kernel.h:15
uint32_t u32
Definition kernel.h:16
#define swap(a, b)
Definition minmax.h:73
#define def(id, size, n_pop, n_push, f)
Definition quickjs.c:1143
#define FMT(f)
Definition quickjs.c:1133