Lines Matching refs:switch_entry
1739 zend_switch_entry switch_entry; in zend_do_begin_function_declaration() local
1741 switch_entry.cond.op_type = IS_UNUSED; in zend_do_begin_function_declaration()
1742 switch_entry.default_case = 0; in zend_do_begin_function_declaration()
1743 switch_entry.control_var = 0; in zend_do_begin_function_declaration()
1745 zend_stack_push(&CG(switch_cond_stack), (void *) &switch_entry, sizeof(switch_entry)); in zend_do_begin_function_declaration()
2658 static int generate_free_switch_expr(const zend_switch_entry *switch_entry TSRMLS_DC) /* {{{ */ in generate_free_switch_expr()
2662 if (switch_entry->cond.op_type != IS_VAR && switch_entry->cond.op_type != IS_TMP_VAR) { in generate_free_switch_expr()
2663 return (switch_entry->cond.op_type == IS_UNUSED); in generate_free_switch_expr()
2668 opline->opcode = (switch_entry->cond.op_type == IS_TMP_VAR) ? ZEND_FREE : ZEND_SWITCH_FREE; in generate_free_switch_expr()
2669 SET_NODE(opline->op1, &switch_entry->cond); in generate_free_switch_expr()
4845 zend_switch_entry switch_entry; in zend_do_switch_cond() local
4847 switch_entry.cond = *cond; in zend_do_switch_cond()
4848 switch_entry.default_case = -1; in zend_do_switch_cond()
4849 switch_entry.control_var = -1; in zend_do_switch_cond()
4850 zend_stack_push(&CG(switch_cond_stack), (void *) &switch_entry, sizeof(switch_entry)); in zend_do_switch_cond()