Home
last modified time | relevance | path

Searched refs:stack_top_uint8 (Results 1 – 8 of 8) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Djs-parser-mem.c379 || context_p->stack_top_uint8 == page_p->bytes[context_p->stack.last_position - 1]); in parser_stack_push_uint8()
400 context_p->stack_top_uint8 = uint8_value; in parser_stack_push_uint8()
412 && context_p->stack_top_uint8 == page_p->bytes[context_p->stack.last_position - 1]); in parser_stack_pop_uint8()
436 context_p->stack_top_uint8 = page_p->bytes[context_p->stack.last_position - 1]; in parser_stack_pop_uint8()
451 … && context_p->stack_top_uint8 == page_p->bytes[context_p->stack.last_position - 1]); in parser_stack_push_uint16()
455 context_p->stack_top_uint8 = (uint8_t) uint16_value; in parser_stack_push_uint16()
472 uint32_t value = context_p->stack_top_uint8; in parser_stack_pop_uint16()
479 … && context_p->stack_top_uint8 == page_p->bytes[context_p->stack.last_position - 1]); in parser_stack_pop_uint16()
482 context_p->stack_top_uint8 = page_p->bytes[context_p->stack.last_position - 3]; in parser_stack_pop_uint16()
488 value |= ((uint32_t) context_p->stack_top_uint8) << 8; in parser_stack_pop_uint16()
[all …]
Djs-parser-statm.c339 && context_p->stack_top_uint8 == page_p->bytes[context_p->stack.last_position - 1]); in parser_stack_change_last_uint8()
342 context_p->stack_top_uint8 = new_value; in parser_stack_change_last_uint8()
427 JERRY_ASSERT (context_p->stack_top_uint8 == PARSER_STATEMENT_BLOCK_SCOPE in parser_pop_block_context()
428 || context_p->stack_top_uint8 == PARSER_STATEMENT_PRIVATE_SCOPE in parser_pop_block_context()
429 || context_p->stack_top_uint8 == PARSER_STATEMENT_BLOCK_CONTEXT in parser_pop_block_context()
430 || context_p->stack_top_uint8 == PARSER_STATEMENT_PRIVATE_CONTEXT); in parser_pop_block_context()
432 uint8_t type = context_p->stack_top_uint8; in parser_pop_block_context()
469 if (parser_statement_flags[context_p->stack_top_uint8] & PARSER_STATM_SINGLE_STATM) in parser_validate_lexical_context()
635 …if (JERRY_UNLIKELY (parser_statement_flags[context_p->stack_top_uint8] & PARSER_STATM_SINGLE_STATM… in parser_parse_function_statement()
642 if (context_p->stack_top_uint8 == PARSER_STATEMENT_IF in parser_parse_function_statement()
[all …]
Djs-scanner.c522 if (context_p->stack_top_uint8 == SCAN_STACK_USE_ASYNC) in scanner_scan_primary_expression_end()
541 if (context_p->stack_top_uint8 == SCAN_STACK_IF_STATEMENT) in scanner_scan_primary_expression_end()
556 JERRY_ASSERT (context_p->stack_top_uint8 == SCAN_STACK_ARRAY_LITERAL in scanner_scan_primary_expression_end()
557 || context_p->stack_top_uint8 == SCAN_STACK_OBJECT_LITERAL in scanner_scan_primary_expression_end()
558 || context_p->stack_top_uint8 == SCAN_STACK_LET in scanner_scan_primary_expression_end()
559 || context_p->stack_top_uint8 == SCAN_STACK_CONST in scanner_scan_primary_expression_end()
560 || context_p->stack_top_uint8 == SCAN_STACK_FOR_LET_START in scanner_scan_primary_expression_end()
561 || context_p->stack_top_uint8 == SCAN_STACK_FOR_CONST_START in scanner_scan_primary_expression_end()
562 || context_p->stack_top_uint8 == SCAN_STACK_FUNCTION_PARAMETERS in scanner_scan_primary_expression_end()
563 || context_p->stack_top_uint8 == SCAN_STACK_ARROW_ARGUMENTS); in scanner_scan_primary_expression_end()
[all …]
Djs-parser-expr.c444 context_p->stack_top_uint8 = PARSER_OBJECT_PROPERTY_BOTH_ACCESSORS; in parser_append_object_literal_item()
1158 while (context_p->stack_top_uint8 != PARSER_OBJECT_PROPERTY_START) in parser_parse_object_literal()
1480 return (context_p->stack_top_uint8 == LEXER_EXPRESSION_START in parser_is_assignment_expr()
1481 || context_p->stack_top_uint8 == LEXER_LEFT_PAREN in parser_is_assignment_expr()
1482 || context_p->stack_top_uint8 == LEXER_COMMA_SEP_LIST in parser_is_assignment_expr()
1483 || LEXER_IS_BINARY_LVALUE_TOKEN (context_p->stack_top_uint8)); in parser_is_assignment_expr()
1675 if ((context_p->stack_top_uint8 == LEXER_PLUS || context_p->stack_top_uint8 == LEXER_NEGATE) in parser_parse_unary_expression()
1680 if (context_p->stack_top_uint8 == LEXER_NEGATE) in parser_parse_unary_expression()
1686 while (context_p->stack_top_uint8 == LEXER_PLUS in parser_parse_unary_expression()
1687 || context_p->stack_top_uint8 == LEXER_NEGATE); in parser_parse_unary_expression()
[all …]
Djs-scanner-ops.c43 JERRY_ASSERT (context_p->stack_top_uint8 == SCAN_STACK_USE_ASYNC); in scanner_add_async_literal()
95 if (context_p->stack_top_uint8 == SCAN_STACK_USE_ASYNC) in scanner_check_arrow()
105 if (context_p->stack_top_uint8 == SCAN_STACK_USE_ASYNC) in scanner_check_arrow()
173 JERRY_ASSERT (context_p->stack_top_uint8 == SCAN_STACK_ARROW_ARGUMENTS); in scanner_check_arrow_arg()
442 if (context_p->stack_top_uint8 == SCAN_STACK_USE_ASYNC) in scanner_scan_bracket()
Djs-parser-module.c557 || context_p->stack_top_uint8 != 0 in parser_module_check_request_place()
Djs-parser-internal.h553 uint8_t stack_top_uint8; /**< top byte stored on the stack */ member
Djs-parser.c2212 JERRY_ASSERT (context.stack_top_uint8 == CBC_MAXIMUM_BYTE_VALUE in parser_parse_source()