Lines Matching refs:emit_op
21551 static void emit_op(JSParseState *s, uint8_t val) in emit_op() function
21613 emit_op(s, OP_label); in emit_label()
21628 emit_op(s, opcode); in emit_goto()
21659 emit_op(s, OP_push_atom_value); in emit_push_const()
21668 emit_op(s, OP_push_const); in emit_push_const()
21808 emit_op(s, OP_enter_scope); in push_scope()
21831 emit_op(s, OP_leave_scope); in pop_scope()
21841 emit_op(s, OP_leave_scope); in close_scopes()
22234 emit_op(s, OP_get_field2); in js_parse_template()
22270 emit_op(s, OP_call_method); in js_parse_template()
22605 emit_op(s, OP_set_name); in set_object_name()
22633 emit_op(s, OP_set_name_computed); in set_object_name_computed()
22654 emit_op(s, OP_object); in js_parse_object_literal()
22666 emit_op(s, OP_null); /* dummy excludeList */ in js_parse_object_literal()
22667 emit_op(s, OP_copy_data_properties); in js_parse_object_literal()
22669 emit_op(s, OP_drop); /* pop excludeList */ in js_parse_object_literal()
22670 emit_op(s, OP_drop); /* pop src object */ in js_parse_object_literal()
22680 emit_op(s, OP_scope_get_var); in js_parse_object_literal()
22683 emit_op(s, OP_define_field); in js_parse_object_literal()
22708 emit_op(s, OP_define_method_computed); in js_parse_object_literal()
22710 emit_op(s, OP_define_method); in js_parse_object_literal()
22727 emit_op(s, OP_define_array_el); in js_parse_object_literal()
22728 emit_op(s, OP_drop); in js_parse_object_literal()
22734 emit_op(s, OP_set_proto); in js_parse_object_literal()
22738 emit_op(s, OP_define_field); in js_parse_object_literal()
22833 emit_op(s, OP_scope_get_var); in emit_class_field_init()
22838 emit_op(s, OP_dup); in emit_class_field_init()
22841 emit_op(s, OP_scope_get_var); in emit_class_field_init()
22845 emit_op(s, OP_swap); in emit_class_field_init()
22847 emit_op(s, OP_call_method); in emit_class_field_init()
22851 emit_op(s, OP_drop); in emit_class_field_init()
22880 emit_op(s, OP_push_false); /* will be patched later */ in emit_class_init_start()
22884 emit_op(s, OP_scope_get_var); in emit_class_init_start()
22888 emit_op(s, OP_scope_get_var); in emit_class_init_start()
22892 emit_op(s, OP_add_brand); in emit_class_init_start()
22921 emit_op(s, OP_return_undef); in emit_class_init_end()
22926 emit_op(s, OP_fclosure); in emit_class_init_end()
22928 emit_op(s, OP_set_home_object); in emit_class_init_end()
22981 emit_op(s, OP_undefined); in js_parse_class()
22997 emit_op(s, OP_push_const); in js_parse_class()
23010 emit_op(s, OP_define_class); in js_parse_class()
23042 emit_op(s, OP_swap); in js_parse_class()
23091 emit_op(s, OP_set_home_object); in js_parse_class()
23093 emit_op(s, OP_scope_put_var_init); in js_parse_class()
23113 emit_op(s, OP_define_method_computed); in js_parse_class()
23115 emit_op(s, OP_define_method); in js_parse_class()
23140 emit_op(s, OP_private_symbol); in js_parse_class()
23142 emit_op(s, OP_scope_put_var_init); in js_parse_class()
23160 emit_op(s, OP_to_propkey); in js_parse_class()
23161 emit_op(s, OP_scope_put_var_init); in js_parse_class()
23166 emit_op(s, OP_scope_get_var); in js_parse_class()
23171 emit_op(s, OP_scope_get_var); in js_parse_class()
23177 emit_op(s, OP_scope_get_var); in js_parse_class()
23188 emit_op(s, OP_undefined); in js_parse_class()
23192 emit_op(s, OP_define_private_field); in js_parse_class()
23195 emit_op(s, OP_define_array_el); in js_parse_class()
23196 emit_op(s, OP_drop); in js_parse_class()
23199 emit_op(s, OP_define_field); in js_parse_class()
23247 emit_op(s, OP_set_home_object); in js_parse_class()
23248 emit_op(s, OP_set_name); in js_parse_class()
23250 emit_op(s, OP_scope_put_var_init); in js_parse_class()
23255 emit_op(s, OP_define_method_computed); in js_parse_class()
23257 emit_op(s, OP_define_method); in js_parse_class()
23264 emit_op(s, OP_swap); in js_parse_class()
23308 emit_op(s, OP_undefined); in js_parse_class()
23310 emit_op(s, OP_scope_put_var_init); in js_parse_class()
23316 emit_op(s, OP_drop); in js_parse_class()
23321 emit_op(s, OP_dup); in js_parse_class()
23323 emit_op(s, OP_call_method); in js_parse_class()
23325 emit_op(s, OP_drop); in js_parse_class()
23332 emit_op(s, OP_dup); in js_parse_class()
23333 emit_op(s, OP_scope_put_var_init); in js_parse_class()
23344 emit_op(s, OP_scope_put_var_init); in js_parse_class()
23352 emit_op(s, OP_set_class_name); in js_parse_class()
23400 emit_op(s, OP_array_from); in js_parse_array_literal()
23412 emit_op(s, OP_define_field); in js_parse_array_literal()
23427 emit_op(s, OP_dup); in js_parse_array_literal()
23428 emit_op(s, OP_push_i32); in js_parse_array_literal()
23430 emit_op(s, OP_put_field); in js_parse_array_literal()
23437 emit_op(s, OP_push_i32); in js_parse_array_literal()
23448 emit_op(s, OP_append); in js_parse_array_literal()
23454 emit_op(s, OP_for_of_start); in js_parse_array_literal()
23455 emit_op(s, OP_rot5l); in js_parse_array_literal()
23456 emit_op(s, OP_rot5l); in js_parse_array_literal()
23459 emit_op(s, OP_for_of_next); in js_parse_array_literal()
23464 emit_op(s, OP_define_array_el); in js_parse_array_literal()
23465 emit_op(s, OP_inc); in js_parse_array_literal()
23469 emit_op(s, OP_drop); /* drop undef val */ in js_parse_array_literal()
23470 emit_op(s, OP_nip1); /* drop enum_rec */ in js_parse_array_literal()
23471 emit_op(s, OP_nip1); in js_parse_array_literal()
23472 emit_op(s, OP_nip1); in js_parse_array_literal()
23480 emit_op(s, OP_define_array_el); in js_parse_array_literal()
23483 emit_op(s, OP_inc); in js_parse_array_literal()
23493 emit_op(s, OP_dup1); /* array length - array array length */ in js_parse_array_literal()
23494 emit_op(s, OP_put_field); in js_parse_array_literal()
23497 emit_op(s, OP_drop); /* array length - array */ in js_parse_array_literal()
23585 emit_op(s, OP_scope_make_ref); in get_lvalue()
23590 emit_op(s, OP_get_ref_value); in get_lvalue()
23594 emit_op(s, OP_get_field2); in get_lvalue()
23598 emit_op(s, OP_scope_get_private_field2); in get_lvalue()
23604 emit_op(s, OP_to_propkey2); in get_lvalue()
23605 emit_op(s, OP_dup2); in get_lvalue()
23606 emit_op(s, OP_get_array_el); in get_lvalue()
23609 emit_op(s, OP_to_propkey); in get_lvalue()
23610 emit_op(s, OP_dup3); in get_lvalue()
23611 emit_op(s, OP_get_super_value); in get_lvalue()
23620 emit_op(s, OP_scope_make_ref); in get_lvalue()
23628 emit_op(s, OP_to_propkey2); in get_lvalue()
23631 emit_op(s, OP_to_propkey); in get_lvalue()
23671 emit_op(s, OP_insert2); /* obj v -> v obj v */ in put_lvalue()
23674 emit_op(s, OP_perm3); /* obj v0 v -> v0 obj v */ in put_lvalue()
23677 emit_op(s, OP_swap); in put_lvalue()
23692 emit_op(s, OP_nop); /* will trigger optimization */ in put_lvalue()
23697 emit_op(s, OP_insert3); /* obj prop v -> v obj prop v */ in put_lvalue()
23700 emit_op(s, OP_perm4); /* obj prop v0 v -> v0 obj prop v */ in put_lvalue()
23703 emit_op(s, OP_rot3l); in put_lvalue()
23716 emit_op(s, OP_insert4); /* this obj prop v -> v this obj prop v */ in put_lvalue()
23719 emit_op(s, OP_perm5); /* this obj prop v0 v -> v0 this obj prop v */ in put_lvalue()
23722 emit_op(s, OP_rot4l); in put_lvalue()
23736 emit_op(s, is_let ? OP_scope_put_var_init : OP_scope_put_var); in put_lvalue()
23741 emit_op(s, OP_put_field); in put_lvalue()
23745 emit_op(s, OP_scope_put_private_field); in put_lvalue()
23750 emit_op(s, OP_put_array_el); in put_lvalue()
23753 emit_op(s, OP_put_ref_value); in put_lvalue()
23756 emit_op(s, OP_put_super_value); in put_lvalue()
23826 emit_op(s, OP_array_from); in js_emit_spread_code()
23828 emit_op(s, OP_push_i32); in js_emit_spread_code()
23831 emit_op(s, OP_for_of_next); in js_emit_spread_code()
23835 emit_op(s, OP_define_array_el); in js_emit_spread_code()
23836 emit_op(s, OP_inc); in js_emit_spread_code()
23840 emit_op(s, OP_drop); in js_emit_spread_code()
23841 emit_op(s, OP_drop); in js_emit_spread_code()
23909 emit_op(s, OP_dup); in js_parse_destructuring_element()
23910 emit_op(s, OP_undefined); in js_parse_destructuring_element()
23911 emit_op(s, OP_strict_eq); in js_parse_destructuring_element()
23918 emit_op(s, OP_dup); in js_parse_destructuring_element()
23925 emit_op(s, OP_to_object); in js_parse_destructuring_element()
23928 emit_op(s, OP_object); in js_parse_destructuring_element()
23929 emit_op(s, OP_swap); in js_parse_destructuring_element()
23960 emit_op(s, OP_object); /* target */ in js_parse_destructuring_element()
23961 emit_op(s, OP_copy_data_properties); in js_parse_destructuring_element()
23983 emit_op(s, OP_to_propkey); /* avoid calling ToString twice */ in js_parse_destructuring_element()
23984 emit_op(s, OP_perm3); /* TOS: src excludeList prop */ in js_parse_destructuring_element()
23985 emit_op(s, OP_null); /* TOS: src excludeList prop null */ in js_parse_destructuring_element()
23986 emit_op(s, OP_define_array_el); /* TOS: src excludeList prop */ in js_parse_destructuring_element()
23987 emit_op(s, OP_perm3); /* TOS: excludeList src prop */ in js_parse_destructuring_element()
23990 emit_op(s, OP_get_array_el2); in js_parse_destructuring_element()
23995 emit_op(s, OP_swap); /* TOS: src excludeList */ in js_parse_destructuring_element()
23996 emit_op(s, OP_null); /* TOS: src excludeList null */ in js_parse_destructuring_element()
23997 emit_op(s, OP_define_field); /* TOS: src excludeList */ in js_parse_destructuring_element()
23999 emit_op(s, OP_swap); /* TOS: excludeList src */ in js_parse_destructuring_element()
24002 emit_op(s, OP_get_field2); in js_parse_destructuring_element()
24015 emit_op(s, OP_to_propkey2); in js_parse_destructuring_element()
24018 emit_op(s, OP_perm3); in js_parse_destructuring_element()
24019 emit_op(s, OP_null); in js_parse_destructuring_element()
24020 emit_op(s, OP_define_array_el); in js_parse_destructuring_element()
24021 emit_op(s, OP_perm3); in js_parse_destructuring_element()
24024 emit_op(s, OP_dup1); in js_parse_destructuring_element()
24028 emit_op(s, OP_swap); in js_parse_destructuring_element()
24029 emit_op(s, OP_null); in js_parse_destructuring_element()
24030 emit_op(s, OP_define_field); in js_parse_destructuring_element()
24032 emit_op(s, OP_swap); in js_parse_destructuring_element()
24035 emit_op(s, OP_dup); in js_parse_destructuring_element()
24053 emit_op(s, OP_rot3r); in js_parse_destructuring_element()
24057 emit_op(s, OP_swap2); /* t p2 s p1 */ in js_parse_destructuring_element()
24061 emit_op(s, OP_rot5l); in js_parse_destructuring_element()
24062 emit_op(s, OP_rot5l); in js_parse_destructuring_element()
24069 emit_op(s, OP_swap); in js_parse_destructuring_element()
24073 emit_op(s, OP_rot3l); in js_parse_destructuring_element()
24077 emit_op(s, OP_rot4l); in js_parse_destructuring_element()
24086 emit_op(s, OP_get_array_el); in js_parse_destructuring_element()
24091 emit_op(s, OP_get_field); in js_parse_destructuring_element()
24105 emit_op(s, OP_swap); in js_parse_destructuring_element()
24106 emit_op(s, OP_null); in js_parse_destructuring_element()
24107 emit_op(s, OP_define_field); in js_parse_destructuring_element()
24109 emit_op(s, OP_swap); in js_parse_destructuring_element()
24114 emit_op(s, OP_dup); in js_parse_destructuring_element()
24115 emit_op(s, OP_scope_get_var); in js_parse_destructuring_element()
24122 emit_op(s, OP_get_field2); in js_parse_destructuring_element()
24133 emit_op(s, OP_dup); in js_parse_destructuring_element()
24134 emit_op(s, OP_undefined); in js_parse_destructuring_element()
24135 emit_op(s, OP_strict_eq); in js_parse_destructuring_element()
24139 emit_op(s, OP_drop); in js_parse_destructuring_element()
24157 emit_op(s, OP_drop); in js_parse_destructuring_element()
24159 emit_op(s, OP_drop); /* pop excludeList */ in js_parse_destructuring_element()
24175 emit_op(s, OP_for_of_start); in js_parse_destructuring_element()
24188 emit_op(s, OP_for_of_next); in js_parse_destructuring_element()
24190 emit_op(s, OP_drop); in js_parse_destructuring_element()
24191 emit_op(s, OP_drop); in js_parse_destructuring_element()
24200 emit_op(s, OP_for_of_next); in js_parse_destructuring_element()
24202 emit_op(s, OP_drop); in js_parse_destructuring_element()
24228 emit_op(s, OP_for_of_next); in js_parse_destructuring_element()
24230 emit_op(s, OP_drop); in js_parse_destructuring_element()
24235 emit_op(s, OP_dup); in js_parse_destructuring_element()
24236 emit_op(s, OP_undefined); in js_parse_destructuring_element()
24237 emit_op(s, OP_strict_eq); in js_parse_destructuring_element()
24241 emit_op(s, OP_drop); in js_parse_destructuring_element()
24263 emit_op(s, OP_iterator_close); in js_parse_destructuring_element()
24276 emit_op(s, OP_drop); in js_parse_destructuring_element()
24319 emit_op(s, OP_dup); in optional_chain_test()
24320 emit_op(s, OP_is_undefined_or_null); in optional_chain_test()
24323 emit_op(s, OP_drop); in optional_chain_test()
24324 emit_op(s, OP_undefined); in optional_chain_test()
24344 emit_op(s, OP_push_i32); in js_parse_postfix_expr()
24359 emit_op(s, OP_push_i32); in js_parse_postfix_expr()
24370 emit_op(s, OP_mul_pow10); in js_parse_postfix_expr()
24426 emit_op(s, OP_regexp); in js_parse_postfix_expr()
24456 emit_op(s, OP_null); in js_parse_postfix_expr()
24461 emit_op(s, OP_scope_get_var); in js_parse_postfix_expr()
24468 emit_op(s, OP_push_false); in js_parse_postfix_expr()
24473 emit_op(s, OP_push_true); in js_parse_postfix_expr()
24524 emit_op(s, OP_scope_get_var); in js_parse_postfix_expr()
24560 emit_op(s, OP_scope_get_var); in js_parse_postfix_expr()
24569 emit_op(s, OP_dup); in js_parse_postfix_expr()
24570 emit_op(s, OP_call_constructor); in js_parse_postfix_expr()
24587 emit_op(s, OP_scope_get_var); in js_parse_postfix_expr()
24590 emit_op(s, OP_scope_get_var); in js_parse_postfix_expr()
24593 emit_op(s, OP_get_super); in js_parse_postfix_expr()
24610 emit_op(s, OP_special_object); in js_parse_postfix_expr()
24621 emit_op(s, OP_import); in js_parse_postfix_expr()
24729 emit_op(s, OP_scope_get_var); in js_parse_postfix_expr()
24733 emit_op(s, OP_get_super); in js_parse_postfix_expr()
24735 emit_op(s, OP_scope_get_var); in js_parse_postfix_expr()
24739 emit_op(s, OP_dup); /* new.target = function */ in js_parse_postfix_expr()
24760 emit_op(s, OP_array_from); in js_parse_postfix_expr()
24762 emit_op(s, OP_push_i32); in js_parse_postfix_expr()
24774 emit_op(s, OP_append); in js_parse_postfix_expr()
24780 emit_op(s, OP_for_of_start); in js_parse_postfix_expr()
24781 emit_op(s, OP_rot5l); in js_parse_postfix_expr()
24782 emit_op(s, OP_rot5l); in js_parse_postfix_expr()
24785 emit_op(s, OP_for_of_next); in js_parse_postfix_expr()
24790 emit_op(s, OP_define_array_el); in js_parse_postfix_expr()
24791 emit_op(s, OP_inc); in js_parse_postfix_expr()
24795 emit_op(s, OP_drop); /* drop undef */ in js_parse_postfix_expr()
24796 emit_op(s, OP_nip1); /* drop enum_rec */ in js_parse_postfix_expr()
24797 emit_op(s, OP_nip1); in js_parse_postfix_expr()
24798 emit_op(s, OP_nip1); in js_parse_postfix_expr()
24804 emit_op(s, OP_define_array_el); in js_parse_postfix_expr()
24805 emit_op(s, OP_inc); in js_parse_postfix_expr()
24816 emit_op(s, OP_drop); in js_parse_postfix_expr()
24825 emit_op(s, OP_perm3); in js_parse_postfix_expr()
24826 emit_op(s, OP_apply); in js_parse_postfix_expr()
24830 emit_op(s, OP_apply_eval); in js_parse_postfix_expr()
24836 emit_op(s, OP_apply); in js_parse_postfix_expr()
24839 emit_op(s, OP_dup); in js_parse_postfix_expr()
24840 emit_op(s, OP_scope_put_var_init); in js_parse_postfix_expr()
24847 emit_op(s, OP_perm3); in js_parse_postfix_expr()
24848 emit_op(s, OP_apply); in js_parse_postfix_expr()
24852 emit_op(s, OP_undefined); in js_parse_postfix_expr()
24853 emit_op(s, OP_swap); in js_parse_postfix_expr()
24854 emit_op(s, OP_apply); in js_parse_postfix_expr()
24868 emit_op(s, OP_call_method); in js_parse_postfix_expr()
24872 emit_op(s, OP_eval); in js_parse_postfix_expr()
24879 emit_op(s, OP_call_constructor); in js_parse_postfix_expr()
24883 emit_op(s, OP_dup); in js_parse_postfix_expr()
24884 emit_op(s, OP_scope_put_var_init); in js_parse_postfix_expr()
24890 emit_op(s, OP_call_constructor); in js_parse_postfix_expr()
24893 emit_op(s, OP_call); in js_parse_postfix_expr()
24912 emit_op(s, OP_scope_get_private_field); in js_parse_postfix_expr()
24927 emit_op(s, OP_get_super_value); in js_parse_postfix_expr()
24932 emit_op(s, OP_get_field); in js_parse_postfix_expr()
24953 emit_op(s, OP_get_super_value); in js_parse_postfix_expr()
24955 emit_op(s, OP_get_array_el); in js_parse_postfix_expr()
24997 emit_op(s, OP_delete); in js_parse_delete()
25013 emit_op(s, OP_throw_error); in js_parse_delete()
25019 emit_op(s, OP_drop); in js_parse_delete()
25020 emit_op(s, OP_push_true); in js_parse_delete()
25044 emit_op(s, OP_neg); in js_parse_unary()
25047 emit_op(s, OP_plus); in js_parse_unary()
25050 emit_op(s, OP_lnot); in js_parse_unary()
25053 emit_op(s, OP_not); in js_parse_unary()
25056 emit_op(s, OP_drop); in js_parse_unary()
25057 emit_op(s, OP_undefined); in js_parse_unary()
25076 emit_op(s, OP_dec + op - TOK_DEC); in js_parse_unary()
25094 emit_op(s, OP_typeof); in js_parse_unary()
25112 emit_op(s, OP_await); in js_parse_unary()
25126 emit_op(s, OP_post_dec + op - TOK_DEC); in js_parse_unary()
25150 emit_op(s, OP_pow); in js_parse_unary()
25167 emit_op(s, OP_pow); in js_parse_unary()
25316 emit_op(s, opcode); in js_parse_expr_binary()
25340 emit_op(s, OP_dup); in js_parse_logical_and_or()
25342 emit_op(s, OP_drop); in js_parse_logical_and_or()
25376 emit_op(s, OP_dup); in js_parse_coalesce_expr()
25377 emit_op(s, OP_is_undefined_or_null); in js_parse_coalesce_expr()
25379 emit_op(s, OP_drop); in js_parse_coalesce_expr()
25451 emit_op(s, OP_undefined); in js_parse_assign_expr2()
25463 emit_op(s, is_async ? OP_for_await_of_start : OP_for_of_start); in js_parse_assign_expr2()
25467 emit_op(s, OP_drop); in js_parse_assign_expr2()
25468 emit_op(s, OP_undefined); in js_parse_assign_expr2()
25470 emit_op(s, OP_undefined); /* initial value */ in js_parse_assign_expr2()
25473 emit_op(s, OP_iterator_next); in js_parse_assign_expr2()
25475 emit_op(s, OP_await); in js_parse_assign_expr2()
25476 emit_op(s, OP_iterator_check_object); in js_parse_assign_expr2()
25477 emit_op(s, OP_get_field2); in js_parse_assign_expr2()
25483 emit_op(s, OP_get_field); in js_parse_assign_expr2()
25485 emit_op(s, OP_await); in js_parse_assign_expr2()
25486 emit_op(s, OP_async_yield_star); in js_parse_assign_expr2()
25489 emit_op(s, OP_yield_star); in js_parse_assign_expr2()
25491 emit_op(s, OP_dup); in js_parse_assign_expr2()
25493 emit_op(s, OP_drop); in js_parse_assign_expr2()
25497 emit_op(s, OP_push_i32); in js_parse_assign_expr2()
25499 emit_op(s, OP_strict_eq); in js_parse_assign_expr2()
25504 emit_op(s, OP_await); in js_parse_assign_expr2()
25505 emit_op(s, OP_iterator_call); in js_parse_assign_expr2()
25509 emit_op(s, OP_await); in js_parse_assign_expr2()
25510 emit_op(s, OP_iterator_check_object); in js_parse_assign_expr2()
25511 emit_op(s, OP_get_field2); in js_parse_assign_expr2()
25515 emit_op(s, OP_get_field); in js_parse_assign_expr2()
25519 emit_op(s, OP_nip); in js_parse_assign_expr2()
25520 emit_op(s, OP_nip); in js_parse_assign_expr2()
25521 emit_op(s, OP_nip); in js_parse_assign_expr2()
25526 emit_op(s, OP_iterator_call); in js_parse_assign_expr2()
25530 emit_op(s, OP_await); in js_parse_assign_expr2()
25531 emit_op(s, OP_iterator_check_object); in js_parse_assign_expr2()
25532 emit_op(s, OP_get_field2); in js_parse_assign_expr2()
25538 emit_op(s, OP_iterator_call); in js_parse_assign_expr2()
25542 emit_op(s, OP_await); in js_parse_assign_expr2()
25545 emit_op(s, OP_throw_error); in js_parse_assign_expr2()
25550 emit_op(s, OP_get_field); in js_parse_assign_expr2()
25552 emit_op(s, OP_nip); /* keep the value associated with in js_parse_assign_expr2()
25554 emit_op(s, OP_nip); in js_parse_assign_expr2()
25555 emit_op(s, OP_nip); in js_parse_assign_expr2()
25560 emit_op(s, OP_await); in js_parse_assign_expr2()
25561 emit_op(s, OP_yield); in js_parse_assign_expr2()
25608 emit_op(s, op); in js_parse_assign_expr2()
25620 emit_op(s, OP_dup); in js_parse_assign_expr2()
25622 emit_op(s, OP_is_undefined_or_null); in js_parse_assign_expr2()
25625 emit_op(s, OP_drop); in js_parse_assign_expr2()
25638 emit_op(s, OP_insert2); in js_parse_assign_expr2()
25641 emit_op(s, OP_insert3); in js_parse_assign_expr2()
25644 emit_op(s, OP_insert4); in js_parse_assign_expr2()
25660 emit_op(s, OP_nip); in js_parse_assign_expr2()
25694 emit_op(s, OP_drop); in js_parse_expr2()
25752 emit_op(s, OP_iterator_close); in emit_break()
25756 emit_op(s, OP_drop); in emit_break()
25759 emit_op(s, OP_undefined); in emit_break()
25761 emit_op(s, OP_drop); in emit_break()
25792 emit_op(s, OP_undefined); in emit_return()
25795 emit_op(s, OP_iterator_close_return); in emit_return()
25799 emit_op(s, OP_drop); /* catch offset */ in emit_return()
25800 emit_op(s, OP_drop); /* next */ in emit_return()
25801 emit_op(s, OP_get_field2); in emit_return()
25804 emit_op(s, OP_dup); in emit_return()
25805 emit_op(s, OP_is_undefined_or_null); in emit_return()
25807 emit_op(s, OP_call_method); in emit_return()
25809 emit_op(s, OP_iterator_check_object); in emit_return()
25810 emit_op(s, OP_await); in emit_return()
25813 emit_op(s, OP_drop); in emit_return()
25815 emit_op(s, OP_drop); in emit_return()
25817 emit_op(s, OP_iterator_close); in emit_return()
25825 emit_op(s, hasval ? OP_nip : OP_drop); in emit_return()
25830 emit_op(s, OP_undefined); in emit_return()
25843 emit_op(s, OP_check_ctor_return); in emit_return()
25845 emit_op(s, OP_drop); in emit_return()
25852 emit_op(s, OP_scope_get_var); in emit_return()
25857 emit_op(s, OP_return); in emit_return()
25860 emit_op(s, OP_undefined); in emit_return()
25862 emit_op(s, OP_await); in emit_return()
25864 emit_op(s, OP_return_async); in emit_return()
25866 emit_op(s, hasval ? OP_return : OP_return_undef); in emit_return()
25939 emit_op(s, OP_scope_get_var); in js_parse_var()
25955 emit_op(s, (tok == TOK_CONST || tok == TOK_LET) ? in js_parse_var()
25967 emit_op(s, OP_undefined); in js_parse_var()
25968 emit_op(s, OP_scope_put_var_init); in js_parse_var()
25978 emit_op(s, OP_undefined); in js_parse_var()
26125 emit_op(s, (tok == TOK_CONST || tok == TOK_LET) ? in js_parse_for_in_of()
26163 emit_op(s, OP_scope_put_var); in js_parse_for_in_of()
26202 emit_op(s, OP_for_await_of_start); in js_parse_for_in_of()
26204 emit_op(s, OP_for_of_start); in js_parse_for_in_of()
26207 emit_op(s, OP_for_in_start); in js_parse_for_in_of()
26245 emit_op(s, OP_dup3); in js_parse_for_in_of()
26246 emit_op(s, OP_drop); in js_parse_for_in_of()
26247 emit_op(s, OP_call_method); in js_parse_for_in_of()
26250 emit_op(s, OP_await); in js_parse_for_in_of()
26252 emit_op(s, OP_iterator_get_value_done); in js_parse_for_in_of()
26254 emit_op(s, OP_for_of_next); in js_parse_for_in_of()
26258 emit_op(s, OP_for_in_next); in js_parse_for_in_of()
26263 emit_op(s, OP_drop); in js_parse_for_in_of()
26268 emit_op(s, OP_iterator_close); in js_parse_for_in_of()
26270 emit_op(s, OP_drop); in js_parse_for_in_of()
26280 emit_op(s, OP_undefined); in set_eval_ret_undefined()
26281 emit_op(s, OP_put_loc); in set_eval_ret_undefined()
26367 emit_op(s, OP_throw); in js_parse_statement_or_decl()
26549 emit_op(s, OP_drop); in js_parse_statement_or_decl()
26591 emit_op(s, OP_drop); in js_parse_statement_or_decl()
26692 emit_op(s, OP_dup); in js_parse_statement_or_decl()
26697 emit_op(s, OP_strict_eq); in js_parse_statement_or_decl()
26724 emit_op(s, OP_label); in js_parse_statement_or_decl()
26748 emit_op(s, OP_drop); /* drop the switch expression */ in js_parse_statement_or_decl()
26781 emit_op(s, OP_drop); in js_parse_statement_or_decl()
26783 emit_op(s, OP_undefined); in js_parse_statement_or_decl()
26785 emit_op(s, OP_drop); in js_parse_statement_or_decl()
26799 emit_op(s, OP_drop); /* pop the exception object */ in js_parse_statement_or_decl()
26820 emit_op(s, OP_scope_put_var); in js_parse_statement_or_decl()
26844 emit_op(s, OP_drop); in js_parse_statement_or_decl()
26847 emit_op(s, OP_undefined); in js_parse_statement_or_decl()
26849 emit_op(s, OP_drop); in js_parse_statement_or_decl()
26857 emit_op(s, OP_throw); in js_parse_statement_or_decl()
26865 emit_op(s, OP_throw); in js_parse_statement_or_decl()
26887 emit_op(s, OP_get_loc); in js_parse_statement_or_decl()
26889 emit_op(s, OP_put_loc); in js_parse_statement_or_decl()
26898 emit_op(s, OP_get_loc); in js_parse_statement_or_decl()
26900 emit_op(s, OP_put_loc); in js_parse_statement_or_decl()
26905 emit_op(s, OP_ret); in js_parse_statement_or_decl()
26932 emit_op(s, OP_to_object); in js_parse_statement_or_decl()
26933 emit_op(s, OP_put_loc); in js_parse_statement_or_decl()
27012 emit_op(s, OP_put_loc); in js_parse_statement_or_decl()
27015 emit_op(s, OP_drop); /* drop the result */ in js_parse_statement_or_decl()
28513 emit_op(s, OP_scope_put_var_init); in js_parse_export()
33060 emit_op(s, OP_check_ctor); in js_parse_function_decl2()
33116 emit_op(s, OP_rest); in js_parse_function_decl2()
33121 emit_op(s, OP_get_arg); in js_parse_function_decl2()
33152 emit_op(s, OP_rest); in js_parse_function_decl2()
33155 emit_op(s, OP_dup); in js_parse_function_decl2()
33156 emit_op(s, OP_scope_put_var_init); in js_parse_function_decl2()
33160 emit_op(s, OP_put_arg); in js_parse_function_decl2()
33174 emit_op(s, OP_get_arg); in js_parse_function_decl2()
33176 emit_op(s, OP_dup); in js_parse_function_decl2()
33177 emit_op(s, OP_undefined); in js_parse_function_decl2()
33178 emit_op(s, OP_strict_eq); in js_parse_function_decl2()
33180 emit_op(s, OP_drop); in js_parse_function_decl2()
33184 emit_op(s, OP_dup); in js_parse_function_decl2()
33185 emit_op(s, OP_put_arg); in js_parse_function_decl2()
33188 emit_op(s, OP_scope_put_var_init); in js_parse_function_decl2()
33197 emit_op(s, OP_get_arg); in js_parse_function_decl2()
33199 emit_op(s, OP_scope_put_var_init); in js_parse_function_decl2()
33240 emit_op(s, OP_scope_get_var); in js_parse_function_decl2()
33243 emit_op(s, OP_scope_put_var); in js_parse_function_decl2()
33251 emit_op(s, OP_leave_scope); in js_parse_function_decl2()
33265 emit_op(s, OP_initial_yield); in js_parse_function_decl2()
33285 emit_op(s, OP_return_async); in js_parse_function_decl2()
33287 emit_op(s, OP_return); in js_parse_function_decl2()
33351 emit_op(s, OP_fclosure); in js_parse_function_decl2()
33354 emit_op(s, OP_set_name); in js_parse_function_decl2()
33359 emit_op(s, OP_fclosure); in js_parse_function_decl2()
33375 emit_op(s, OP_dup); in js_parse_function_decl2()
33376 emit_op(s, OP_scope_put_var); in js_parse_function_decl2()
33388 emit_op(s, OP_dup); in js_parse_function_decl2()
33389 emit_op(s, OP_scope_put_var); in js_parse_function_decl2()
33397 emit_op(s, OP_drop); in js_parse_function_decl2()
33401 emit_op(s, OP_scope_put_var_init); in js_parse_function_decl2()
33487 emit_op(s, OP_get_loc); in js_parse_program()
33490 emit_op(s, OP_return); in js_parse_program()
33492 emit_op(s, OP_return_undef); in js_parse_program()