Searched refs:last_cbc_opcode (Results 1 – 6 of 6) sorted by relevance
89 if (CBC_NO_RESULT_OPERATION (context_p->last_cbc_opcode)) in parser_push_result()91 JERRY_ASSERT (CBC_SAME_ARGS (context_p->last_cbc_opcode, context_p->last_cbc_opcode + 1)); in parser_push_result()93 if ((context_p->last_cbc_opcode == CBC_POST_INCR in parser_push_result()94 || context_p->last_cbc_opcode == CBC_POST_DECR) in parser_push_result()109 context_p->last_cbc_opcode++; in parser_push_result()145 if (context_p->last_cbc_opcode == PARSER_TO_EXT_OPCODE (CBC_EXT_PUSH_NEW_TARGET)) in parser_check_invalid_new_target()167 if (context_p->last_cbc_opcode == CBC_PUSH_LITERAL) in parser_emit_ident_reference()169 context_p->last_cbc_opcode = opcode; in parser_emit_ident_reference()175 if (context_p->last_cbc_opcode == CBC_PUSH_TWO_LITERALS) in parser_emit_ident_reference()177 context_p->last_cbc_opcode = CBC_PUSH_LITERAL; in parser_emit_ident_reference()[all …]
149 uint16_t last_opcode = context_p->last_cbc_opcode; in parser_flush_cbc()284 context_p->last_cbc_opcode = PARSER_CBC_UNAVAILABLE; in parser_flush_cbc()296 if (context_p->last_cbc_opcode != PARSER_CBC_UNAVAILABLE) in parser_emit_cbc()301 context_p->last_cbc_opcode = opcode; in parser_emit_cbc()314 if (context_p->last_cbc_opcode != PARSER_CBC_UNAVAILABLE) in parser_emit_cbc_literal()319 context_p->last_cbc_opcode = opcode; in parser_emit_cbc_literal()336 if (context_p->last_cbc_opcode != PARSER_CBC_UNAVAILABLE) in parser_emit_cbc_literal_value()341 context_p->last_cbc_opcode = opcode; in parser_emit_cbc_literal_value()357 if (context_p->last_cbc_opcode != PARSER_CBC_UNAVAILABLE) in parser_emit_cbc_literal_from_token()362 context_p->last_cbc_opcode = opcode; in parser_emit_cbc_literal_from_token()[all …]
984 if (context_p->last_cbc_opcode != CBC_PUSH_FALSE) in parser_parse_do_while_statement_end()987 if (context_p->last_cbc_opcode == CBC_LOGICAL_NOT) in parser_parse_do_while_statement_end()989 context_p->last_cbc_opcode = PARSER_CBC_UNAVAILABLE; in parser_parse_do_while_statement_end()992 else if (context_p->last_cbc_opcode == CBC_PUSH_TRUE) in parser_parse_do_while_statement_end()994 context_p->last_cbc_opcode = PARSER_CBC_UNAVAILABLE; in parser_parse_do_while_statement_end()1006 context_p->last_cbc_opcode = PARSER_CBC_UNAVAILABLE; in parser_parse_do_while_statement_end()1047 JERRY_ASSERT (context_p->last_cbc_opcode == PARSER_CBC_UNAVAILABLE); in parser_parse_while_statement_start()1104 if (context_p->last_cbc_opcode == CBC_LOGICAL_NOT) in parser_parse_while_statement_end()1106 context_p->last_cbc_opcode = PARSER_CBC_UNAVAILABLE; in parser_parse_while_statement_end()1109 else if (context_p->last_cbc_opcode == CBC_PUSH_TRUE) in parser_parse_while_statement_end()[all …]
2557 bool two_literals = !PARSER_IS_BASIC_OPCODE (context_p->last_cbc_opcode); in lexer_convert_push_number_to_push_literal()2559 if (context_p->last_cbc_opcode == CBC_PUSH_NUMBER_0 in lexer_convert_push_number_to_push_literal()2560 || context_p->last_cbc_opcode == PARSER_TO_EXT_OPCODE (CBC_EXT_PUSH_LITERAL_PUSH_NUMBER_0)) in lexer_convert_push_number_to_push_literal()2564 else if (context_p->last_cbc_opcode == CBC_PUSH_NUMBER_POS_BYTE 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()2571 JERRY_ASSERT (context_p->last_cbc_opcode == CBC_PUSH_NUMBER_NEG_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()2581 context_p->last_cbc_opcode = two_literals ? CBC_PUSH_TWO_LITERALS : CBC_PUSH_LITERAL; in lexer_convert_push_number_to_push_literal()
2057 context.last_cbc_opcode = PARSER_CBC_UNAVAILABLE; in parser_parse_source()2197 JERRY_ASSERT (context.last_cbc_opcode == PARSER_CBC_UNAVAILABLE); in parser_parse_source()2287 JERRY_ASSERT (context_p->last_cbc_opcode == PARSER_CBC_UNAVAILABLE); in parser_save_context()2378 JERRY_ASSERT (context_p->last_cbc_opcode == PARSER_CBC_UNAVAILABLE); in parser_restore_context()2585 if (context_p->last_cbc_opcode == CBC_PUSH_LITERAL) in parser_parse_arrow_function()2587 context_p->last_cbc_opcode = CBC_RETURN_WITH_LITERAL; in parser_parse_arrow_function()
532 uint16_t last_cbc_opcode; /**< opcode of the last cbc */ member