Home
last modified time | relevance | path

Searched refs:last_cbc (Results 1 – 5 of 5) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Djs-parser-util.c186 uint16_t literal_index = context_p->last_cbc.literal_index; in parser_flush_cbc()
196 uint16_t literal_index = context_p->last_cbc.value; in parser_flush_cbc()
205 literal_index = context_p->last_cbc.third_literal_index; in parser_flush_cbc()
216 uint8_t byte_argument = (uint8_t) context_p->last_cbc.value; in parser_flush_cbc()
218 JERRY_ASSERT (context_p->last_cbc.value <= CBC_MAXIMUM_BYTE_VALUE); in parser_flush_cbc()
240 parser_print_literal (context_p, context_p->last_cbc.literal_index); in parser_flush_cbc()
245 parser_print_literal (context_p, context_p->last_cbc.value); in parser_flush_cbc()
249 parser_print_literal (context_p, context_p->last_cbc.third_literal_index); in parser_flush_cbc()
258 JERRY_DEBUG_MSG (" number:%d", (int) context_p->last_cbc.value + 1); in parser_flush_cbc()
263 JERRY_DEBUG_MSG (" number:%d", -((int) context_p->last_cbc.value + 1)); in parser_flush_cbc()
[all …]
Djs-parser-expr.c120 JERRY_ASSERT (context_p->last_cbc.literal_type == LEXER_IDENT_LITERAL); in parser_check_invalid_assign()
124 if (context_p->last_cbc.literal_keyword_type == LEXER_KEYW_EVAL) in parser_check_invalid_assign()
128 else if (context_p->last_cbc.literal_keyword_type == LEXER_KEYW_ARGUMENTS) in parser_check_invalid_assign()
178 literal_index = context_p->last_cbc.value; in parser_emit_ident_reference()
183 literal_index = context_p->last_cbc.literal_index; in parser_emit_ident_reference()
189 literal_index = context_p->last_cbc.third_literal_index; in parser_emit_ident_reference()
203 && context_p->last_cbc.literal_type == LEXER_IDENT_LITERAL) in parser_emit_unary_lvalue_opcode()
228 && scanner_literal_is_const_reg (context_p, context_p->last_cbc.literal_index)) in parser_emit_unary_lvalue_opcode()
581 context_p->last_cbc.literal_index = function_literal_index; in parser_parse_class_literal()
594 context_p->last_cbc.value = function_literal_index; in parser_parse_class_literal()
[all …]
Djs-lexer.c2567 value = ((ecma_integer_value_t) context_p->last_cbc.value) + 1; in lexer_convert_push_number_to_push_literal()
2573 value = -((ecma_integer_value_t) context_p->last_cbc.value) - 1; in lexer_convert_push_number_to_push_literal()
2593 context_p->last_cbc.value = (uint16_t) literal_index; in lexer_convert_push_number_to_push_literal()
2597 context_p->last_cbc.literal_index = (uint16_t) literal_index; in lexer_convert_push_number_to_push_literal()
2622 context_p->last_cbc.value = (uint16_t) literal_index; in lexer_convert_push_number_to_push_literal()
2626 context_p->last_cbc.literal_index = (uint16_t) literal_index; in lexer_convert_push_number_to_push_literal()
Djs-parser-internal.h531 cbc_argument_t last_cbc; /**< argument of the last cbc */ member
Djs-parser-statm.c1138 && context_p->last_cbc.literal_type == LEXER_IDENT_LITERAL) in parser_check_left_hand_side_expression()