Home
last modified time | relevance | path

Searched refs:PARSER_TO_EXT_OPCODE (Results 1 – 6 of 6) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Djs-parser-internal.h247 #define PARSER_TO_EXT_OPCODE(opcode) ((uint16_t) ((opcode) + 256)) macro
258 || (opcode) == PARSER_TO_EXT_OPCODE (CBC_EXT_PUSH_LITERAL_PUSH_NUMBER_0) \
259 || (opcode) == PARSER_TO_EXT_OPCODE (CBC_EXT_PUSH_LITERAL_PUSH_NUMBER_POS_BYTE) \
260 || (opcode) == PARSER_TO_EXT_OPCODE (CBC_EXT_PUSH_LITERAL_PUSH_NUMBER_NEG_BYTE))
290 (PARSER_TO_EXT_OPCODE(opcode) - CBC_ASSIGN_ADD + CBC_EXT_ASSIGN_ADD_PUSH_RESULT)
293 ((uint16_t) (PARSER_TO_EXT_OPCODE(opcode) - CBC_ASSIGN_ADD + CBC_EXT_ASSIGN_ADD_BLOCK))
661 parser_emit_cbc ((context_p), PARSER_TO_EXT_OPCODE (opcode))
663 parser_emit_cbc_literal ((context_p), PARSER_TO_EXT_OPCODE (opcode), (literal_index))
665 parser_emit_cbc_literal_from_token ((context_p), PARSER_TO_EXT_OPCODE (opcode))
667 parser_emit_cbc_call ((context_p), PARSER_TO_EXT_OPCODE (opcode), (call_arguments))
[all …]
Djs-parser-expr.c145 if (context_p->last_cbc_opcode == PARSER_TO_EXT_OPCODE (CBC_EXT_PUSH_NEW_TARGET)) in parser_check_invalid_new_target()
255 if (context_p->last_cbc_opcode == PARSER_TO_EXT_OPCODE (CBC_EXT_PUSH_SUPER_PROP_LITERAL) in parser_emit_unary_lvalue_opcode()
256 || context_p->last_cbc_opcode == PARSER_TO_EXT_OPCODE (CBC_EXT_PUSH_SUPER_PROP)) in parser_emit_unary_lvalue_opcode()
315 opcode = (uint16_t) (PARSER_TO_EXT_OPCODE (CBC_EXT_SPREAD_ARRAY_APPEND)); in parser_parse_array_literal()
606 context_p->last_cbc_opcode = PARSER_TO_EXT_OPCODE (opcode); in parser_parse_class_literal()
702 …context_p->last_cbc_opcode = PARSER_TO_EXT_OPCODE (is_computed ? CBC_EXT_SET_STATIC_COMPUTED_PROPE… in parser_parse_class_literal()
708 …context_p->last_cbc_opcode = (is_computed ? PARSER_TO_EXT_OPCODE (CBC_EXT_SET_COMPUTED_PROPERTY_LI… in parser_parse_class_literal()
981 context_p->last_cbc_opcode = PARSER_TO_EXT_OPCODE (opcode); in parser_parse_object_literal()
997 context_p->last_cbc_opcode = PARSER_TO_EXT_OPCODE (CBC_EXT_SET_COMPUTED_PROPERTY_LITERAL); in parser_parse_object_literal()
1011 context_p->last_cbc_opcode = PARSER_TO_EXT_OPCODE (CBC_EXT_SET_COMPUTED_PROPERTY_LITERAL); in parser_parse_object_literal()
[all …]
Djs-parser-util.c156 JERRY_ASSERT (last_opcode != PARSER_TO_EXT_OPCODE (CBC_EXT_PUSH_SUPER)); in parser_flush_cbc()
256 || (last_opcode == PARSER_TO_EXT_OPCODE (CBC_EXT_PUSH_LITERAL_PUSH_NUMBER_POS_BYTE))) in parser_flush_cbc()
261 || (last_opcode == PARSER_TO_EXT_OPCODE (CBC_EXT_PUSH_LITERAL_PUSH_NUMBER_NEG_BYTE))) in parser_flush_cbc()
429 context_p->last_cbc_opcode = PARSER_TO_EXT_OPCODE (CBC_EXT_PUSH_LITERAL_PUSH_NUMBER_0); in parser_emit_cbc_push_number()
445 opcode = PARSER_TO_EXT_OPCODE (is_negative_number ? CBC_EXT_PUSH_LITERAL_PUSH_NUMBER_NEG_BYTE in parser_emit_cbc_push_number()
Dbyte-code.h72 ((opcode) >= PARSER_TO_EXT_OPCODE (CBC_EXT_SUPER_CALL) \
73 && (opcode) <= PARSER_TO_EXT_OPCODE (CBC_EXT_SPREAD_CALL_PROP_BLOCK))
Djs-lexer.c2560 || context_p->last_cbc_opcode == PARSER_TO_EXT_OPCODE (CBC_EXT_PUSH_LITERAL_PUSH_NUMBER_0)) in lexer_convert_push_number_to_push_literal()
2565 … || context_p->last_cbc_opcode == PARSER_TO_EXT_OPCODE (CBC_EXT_PUSH_LITERAL_PUSH_NUMBER_POS_BYTE)) in lexer_convert_push_number_to_push_literal()
2572 …|| context_p->last_cbc_opcode == PARSER_TO_EXT_OPCODE (CBC_EXT_PUSH_LITERAL_PUSH_NUMBER_NEG_BYTE)); in lexer_convert_push_number_to_push_literal()
Djs-scanner-util.c2295 opcode = PARSER_TO_EXT_OPCODE (CBC_EXT_CREATE_VAR_EVAL); in scanner_create_variables()
2393 func_init_opcode = PARSER_TO_EXT_OPCODE (CBC_EXT_CREATE_VAR_FUNC_EVAL); in scanner_create_variables()