Searched refs:branch_p (Results 1 – 3 of 3) sorted by relevance
523 parser_branch_t *branch_p) /**< branch result */ in parser_emit_cbc_forward_branch() argument572 branch_p->page_p = context_p->byte_code.last_p; in parser_emit_cbc_forward_branch()573 branch_p->offset = (context_p->byte_code.last_position - 1) | (context_p->byte_code_size << 8); in parser_emit_cbc_forward_branch()719 parser_branch_t *branch_p) /**< branch result */ in parser_set_branch_to_current_position() argument723 parser_mem_page_t *page_p = branch_p->page_p; in parser_set_branch_to_current_position()732 JERRY_ASSERT (context_p->byte_code_size > (branch_p->offset >> 8)); in parser_set_branch_to_current_position()734 delta = context_p->byte_code_size - (branch_p->offset >> 8); in parser_set_branch_to_current_position()735 offset = (branch_p->offset & CBC_LOWER_SEVEN_BIT_MASK); in parser_set_branch_to_current_position()
651 …_emit_cbc_forward_branch (parser_context_t *context_p, uint16_t opcode, parser_branch_t *branch_p);655 void parser_set_branch_to_current_position (parser_context_t *context_p, parser_branch_t *branch_p);670 #define parser_emit_cbc_ext_forward_branch(context_p, opcode, branch_p) \ argument671 parser_emit_cbc_forward_branch ((context_p), PARSER_TO_EXT_OPCODE (opcode), (branch_p))
2077 parser_branch_node_t *branch_p; in parser_parse_case_statement() local2108 branch_p = switch_statement.branch_list_p; in parser_parse_case_statement()2109 JERRY_ASSERT (branch_p != NULL); in parser_parse_case_statement()2110 switch_statement.branch_list_p = branch_p->next_p; in parser_parse_case_statement()2113 parser_set_branch_to_current_position (context_p, &branch_p->branch); in parser_parse_case_statement()2114 parser_free (branch_p, sizeof (parser_branch_node_t)); in parser_parse_case_statement()