Lines Matching refs:expr_node

2676 static void zend_compile_list_assign(znode *result, zend_ast *ast, znode *expr_node, zend_bool old_…
2830 znode *result, zend_ast *ast, znode *expr_node, zend_bool old_style) /* {{{ */ in zend_compile_list_assign() argument
2877 if (expr_node->op_type == IS_CONST) { in zend_compile_list_assign()
2878 Z_TRY_ADDREF(expr_node->u.constant); in zend_compile_list_assign()
2883 zend_emit_op(&fetch_result, ZEND_FETCH_LIST, expr_node, &dim_node); in zend_compile_list_assign()
2891 *result = *expr_node; in zend_compile_list_assign()
2984 znode var_node, expr_node; in zend_compile_assign() local
2999 zend_compile_expr(&expr_node, expr_ast); in zend_compile_assign()
3001 zend_emit_op(result, ZEND_ASSIGN, &var_node, &expr_node); in zend_compile_assign()
3010 zend_compile_simple_var_no_cv(&expr_node, expr_ast, BP_VAR_R, 0); in zend_compile_assign()
3012 zend_compile_expr(&expr_node, expr_ast); in zend_compile_assign()
3018 opline = zend_emit_op_data(&expr_node); in zend_compile_assign()
3023 zend_compile_expr(&expr_node, expr_ast); in zend_compile_assign()
3028 zend_emit_op_data(&expr_node); in zend_compile_assign()
3033 zend_compile_simple_var_no_cv(&expr_node, expr_ast, BP_VAR_R, 0); in zend_compile_assign()
3035 zend_compile_expr(&expr_node, expr_ast); in zend_compile_assign()
3038 zend_compile_list_assign(result, var_ast, &expr_node, var_ast->attr); in zend_compile_assign()
3103 znode var_node, expr_node; in zend_compile_compound_assign() local
3114 zend_compile_expr(&expr_node, expr_ast); in zend_compile_compound_assign()
3116 zend_emit_op(result, opcode, &var_node, &expr_node); in zend_compile_compound_assign()
3121 zend_compile_expr(&expr_node, expr_ast); in zend_compile_compound_assign()
3127 opline = zend_emit_op_data(&expr_node); in zend_compile_compound_assign()
3132 zend_compile_expr(&expr_node, expr_ast); in zend_compile_compound_assign()
3138 zend_emit_op_data(&expr_node); in zend_compile_compound_assign()
4186 znode expr_node; in zend_compile_return() local
4195 expr_node.op_type = IS_CONST; in zend_compile_return()
4196 ZVAL_NULL(&expr_node.u.constant); in zend_compile_return()
4198 zend_compile_var(&expr_node, expr_ast, BP_VAR_W); in zend_compile_return()
4200 zend_compile_expr(&expr_node, expr_ast); in zend_compile_return()
4204 && (expr_node.op_type == IS_CV || (by_ref && expr_node.op_type == IS_VAR)) in zend_compile_return()
4208 zend_emit_op(&expr_node, ZEND_MAKE_REF, &expr_node, NULL); in zend_compile_return()
4210 zend_emit_op_tmp(&expr_node, ZEND_QM_ASSIGN, &expr_node, NULL); in zend_compile_return()
4217 expr_ast ? &expr_node : NULL, CG(active_op_array)->arg_info - 1, 0); in zend_compile_return()
4220 zend_handle_loops_and_finally((expr_node.op_type & (IS_TMP_VAR | IS_VAR)) ? &expr_node : NULL); in zend_compile_return()
4223 &expr_node, NULL); in zend_compile_return()
4240 znode expr_node; in zend_compile_echo() local
4241 zend_compile_expr(&expr_node, expr_ast); in zend_compile_echo()
4243 opline = zend_emit_op(NULL, ZEND_ECHO, &expr_node, NULL); in zend_compile_echo()
4252 znode expr_node; in zend_compile_throw() local
4253 zend_compile_expr(&expr_node, expr_ast); in zend_compile_throw()
4255 zend_emit_op(NULL, ZEND_THROW, &expr_node, NULL); in zend_compile_throw()
4511 znode expr_node, reset_node, value_node, key_node; in zend_compile_foreach() local
4529 zend_compile_var(&expr_node, expr_ast, BP_VAR_W); in zend_compile_foreach()
4531 zend_compile_expr(&expr_node, expr_ast); in zend_compile_foreach()
4535 zend_separate_if_call_and_write(&expr_node, expr_ast, BP_VAR_W); in zend_compile_foreach()
4539 opline = zend_emit_op(&reset_node, by_ref ? ZEND_FE_RESET_RW : ZEND_FE_RESET_R, &expr_node, NULL); in zend_compile_foreach()
4634 znode expr_node, case_node; in zend_compile_switch() local
4638 zend_compile_expr(&expr_node, expr_ast); in zend_compile_switch()
4640 zend_begin_loop(ZEND_FREE, &expr_node); in zend_compile_switch()
4663 if (expr_node.op_type == IS_CONST in zend_compile_switch()
4664 && Z_TYPE(expr_node.u.constant) == IS_FALSE) { in zend_compile_switch()
4666 } else if (expr_node.op_type == IS_CONST in zend_compile_switch()
4667 && Z_TYPE(expr_node.u.constant) == IS_TRUE) { in zend_compile_switch()
4670 opline = zend_emit_op(NULL, ZEND_CASE, &expr_node, &cond_node); in zend_compile_switch()
4700 zend_end_loop(get_next_op_number(CG(active_op_array)), &expr_node); in zend_compile_switch()
4702 if (expr_node.op_type & (IS_VAR|IS_TMP_VAR)) { in zend_compile_switch()
4706 SET_NODE(opline->op1, &expr_node); in zend_compile_switch()
4708 } else if (expr_node.op_type == IS_CONST) { in zend_compile_switch()
4709 zval_dtor(&expr_node.u.constant); in zend_compile_switch()
6779 znode expr_node; in zend_compile_unary_op() local
6780 zend_compile_expr(&expr_node, expr_ast); in zend_compile_unary_op()
6782 if (expr_node.op_type == IS_CONST) { in zend_compile_unary_op()
6785 &expr_node.u.constant); in zend_compile_unary_op()
6786 zval_ptr_dtor(&expr_node.u.constant); in zend_compile_unary_op()
6790 zend_emit_op_tmp(result, opcode, &expr_node, NULL); in zend_compile_unary_op()
6797 znode expr_node; in zend_compile_unary_pm() local
6802 zend_compile_expr(&expr_node, expr_ast); in zend_compile_unary_pm()
6804 if (expr_node.op_type == IS_CONST) { in zend_compile_unary_pm()
6805 if (zend_try_ct_eval_unary_pm(&result->u.constant, ast->kind, &expr_node.u.constant)) { in zend_compile_unary_pm()
6807 zval_ptr_dtor(&expr_node.u.constant); in zend_compile_unary_pm()
6814 zend_emit_op_tmp(result, ZEND_MUL, &lefthand_node, &expr_node); in zend_compile_unary_pm()
6916 znode expr_node; in zend_compile_cast() local
6919 zend_compile_expr(&expr_node, expr_ast); in zend_compile_cast()
6921 opline = zend_emit_op_tmp(result, ZEND_CAST, &expr_node, NULL); in zend_compile_cast()
6992 znode expr_node, default_node; in zend_compile_coalesce() local
6996 zend_compile_var(&expr_node, expr_ast, BP_VAR_IS); in zend_compile_coalesce()
6999 zend_emit_op_tmp(result, ZEND_COALESCE, &expr_node, NULL); in zend_compile_coalesce()
7016 znode expr_node; in zend_compile_print() local
7017 zend_compile_expr(&expr_node, expr_ast); in zend_compile_print()
7019 opline = zend_emit_op(NULL, ZEND_ECHO, &expr_node, NULL); in zend_compile_print()
7032 znode expr_node; in zend_compile_exit() local
7033 zend_compile_expr(&expr_node, expr_ast); in zend_compile_exit()
7034 zend_emit_op(NULL, ZEND_EXIT, &expr_node, NULL); in zend_compile_exit()
7081 znode expr_node; in zend_compile_yield_from() local
7090 zend_compile_expr(&expr_node, expr_ast); in zend_compile_yield_from()
7091 zend_emit_op_tmp(result, ZEND_YIELD_FROM, &expr_node, NULL); in zend_compile_yield_from()
7127 znode expr_node; in zend_compile_include_or_eval() local
7131 zend_compile_expr(&expr_node, expr_ast); in zend_compile_include_or_eval()
7133 opline = zend_emit_op(result, ZEND_INCLUDE_OR_EVAL, &expr_node, NULL); in zend_compile_include_or_eval()