Lines Matching refs:expr_node

3094 		znode *result, zend_ast *ast, znode *expr_node, zend_ast_attr array_style) /* {{{ */  in zend_compile_list_assign()  argument
3101 …if (list->children && expr_node->op_type == IS_CONST && Z_TYPE(expr_node->u.constant) == IS_STRING… in zend_compile_list_assign()
3102 zval_make_interned_string(&expr_node->u.constant); in zend_compile_list_assign()
3146 if (expr_node->op_type == IS_CONST) { in zend_compile_list_assign()
3147 Z_TRY_ADDREF(expr_node->u.constant); in zend_compile_list_assign()
3153 …elem_ast->attr ? (expr_node->op_type == IS_CV ? ZEND_FETCH_DIM_W : ZEND_FETCH_LIST_W) : ZEND_FETCH… in zend_compile_list_assign()
3176 *result = *expr_node; in zend_compile_list_assign()
3178 zend_do_free(expr_node); in zend_compile_list_assign()
3232 znode *expr_node, zend_ast *expr_ast, zend_ast *var_ast) { in zend_compile_expr_with_potential_assign_to_self() argument
3238 zend_compile_simple_var_no_cv(expr_node, expr_ast, BP_VAR_R, 0); in zend_compile_expr_with_potential_assign_to_self()
3240 zend_emit_op_tmp(expr_node, ZEND_QM_ASSIGN, &cv_node, NULL); in zend_compile_expr_with_potential_assign_to_self()
3243 zend_compile_expr(expr_node, expr_ast); in zend_compile_expr_with_potential_assign_to_self()
3252 znode var_node, expr_node; in zend_compile_assign() local
3267 zend_compile_expr(&expr_node, expr_ast); in zend_compile_assign()
3270 zend_emit_op_tmp(result, ZEND_ASSIGN, &var_node, &expr_node); in zend_compile_assign()
3275 zend_compile_expr(&expr_node, expr_ast); in zend_compile_assign()
3282 zend_emit_op_data(&expr_node); in zend_compile_assign()
3287 zend_compile_expr_with_potential_assign_to_self(&expr_node, expr_ast, var_ast); in zend_compile_assign()
3294 opline = zend_emit_op_data(&expr_node); in zend_compile_assign()
3300 zend_compile_expr(&expr_node, expr_ast); in zend_compile_assign()
3307 zend_emit_op_data(&expr_node); in zend_compile_assign()
3318 zend_compile_var(&expr_node, expr_ast, BP_VAR_W, 1); in zend_compile_assign()
3321 zend_emit_op(&expr_node, ZEND_MAKE_REF, &expr_node, NULL); in zend_compile_assign()
3328 zend_compile_simple_var_no_cv(&expr_node, expr_ast, BP_VAR_R, 0); in zend_compile_assign()
3330 zend_emit_op_tmp(&expr_node, ZEND_QM_ASSIGN, &cv_node, NULL); in zend_compile_assign()
3333 zend_compile_expr(&expr_node, expr_ast); in zend_compile_assign()
3337 zend_compile_list_assign(result, var_ast, &expr_node, var_ast->attr); in zend_compile_assign()
3422 znode var_node, expr_node; in zend_compile_compound_assign() local
3434 zend_compile_expr(&expr_node, expr_ast); in zend_compile_compound_assign()
3436 opline = zend_emit_op_tmp(result, ZEND_ASSIGN_OP, &var_node, &expr_node); in zend_compile_compound_assign()
3442 zend_compile_expr(&expr_node, expr_ast); in zend_compile_compound_assign()
3451 opline = zend_emit_op_data(&expr_node); in zend_compile_compound_assign()
3457 zend_compile_expr_with_potential_assign_to_self(&expr_node, expr_ast, var_ast); in zend_compile_compound_assign()
3465 zend_emit_op_data(&expr_node); in zend_compile_compound_assign()
3471 zend_compile_expr(&expr_node, expr_ast); in zend_compile_compound_assign()
3480 opline = zend_emit_op_data(&expr_node); in zend_compile_compound_assign()
5021 znode expr_node; in zend_compile_return() local
5030 expr_node.op_type = IS_CONST; in zend_compile_return()
5031 ZVAL_NULL(&expr_node.u.constant); in zend_compile_return()
5034 zend_compile_var(&expr_node, expr_ast, BP_VAR_W, 1); in zend_compile_return()
5036 zend_compile_expr(&expr_node, expr_ast); in zend_compile_return()
5040 && (expr_node.op_type == IS_CV || (by_ref && expr_node.op_type == IS_VAR)) in zend_compile_return()
5044 zend_emit_op(&expr_node, ZEND_MAKE_REF, &expr_node, NULL); in zend_compile_return()
5046 zend_emit_op_tmp(&expr_node, ZEND_QM_ASSIGN, &expr_node, NULL); in zend_compile_return()
5053 expr_ast ? &expr_node : NULL, CG(active_op_array)->arg_info - 1, 0); in zend_compile_return()
5056 zend_handle_loops_and_finally((expr_node.op_type & (IS_TMP_VAR | IS_VAR)) ? &expr_node : NULL); in zend_compile_return()
5059 &expr_node, NULL); in zend_compile_return()
5076 znode expr_node; in zend_compile_echo() local
5077 zend_compile_expr(&expr_node, expr_ast); in zend_compile_echo()
5079 opline = zend_emit_op(NULL, ZEND_ECHO, &expr_node, NULL); in zend_compile_echo()
5088 znode expr_node; in zend_compile_throw() local
5089 zend_compile_expr(&expr_node, expr_ast); in zend_compile_throw()
5091 zend_op *opline = zend_emit_op(NULL, ZEND_THROW, &expr_node, NULL); in zend_compile_throw()
5386 znode expr_node, reset_node, value_node, key_node; in zend_compile_foreach() local
5408 zend_compile_var(&expr_node, expr_ast, BP_VAR_W, 1); in zend_compile_foreach()
5410 zend_compile_expr(&expr_node, expr_ast); in zend_compile_foreach()
5414 zend_separate_if_call_and_write(&expr_node, expr_ast, BP_VAR_W); in zend_compile_foreach()
5418 opline = zend_emit_op(&reset_node, by_ref ? ZEND_FE_RESET_RW : ZEND_FE_RESET_R, &expr_node, NULL); in zend_compile_foreach()
5585 znode expr_node, case_node; in zend_compile_switch() local
5591 zend_compile_expr(&expr_node, expr_ast); in zend_compile_switch()
5593 zend_begin_loop(ZEND_FREE, &expr_node, 1); in zend_compile_switch()
5609 &expr_node, &jumptable_op); in zend_compile_switch()
5634 if (expr_node.op_type == IS_CONST in zend_compile_switch()
5635 && Z_TYPE(expr_node.u.constant) == IS_FALSE) { in zend_compile_switch()
5637 } else if (expr_node.op_type == IS_CONST in zend_compile_switch()
5638 && Z_TYPE(expr_node.u.constant) == IS_TRUE) { in zend_compile_switch()
5642 (expr_node.op_type & (IS_VAR|IS_TMP_VAR)) ? ZEND_CASE : ZEND_IS_EQUAL, in zend_compile_switch()
5643 &expr_node, &cond_node); in zend_compile_switch()
5698 zend_end_loop(get_next_op_number(), &expr_node); in zend_compile_switch()
5700 if (expr_node.op_type & (IS_VAR|IS_TMP_VAR)) { in zend_compile_switch()
5701 opline = zend_emit_op(NULL, ZEND_FREE, &expr_node, NULL); in zend_compile_switch()
5703 } else if (expr_node.op_type == IS_CONST) { in zend_compile_switch()
5704 zval_ptr_dtor_nogc(&expr_node.u.constant); in zend_compile_switch()
5762 znode expr_node; in zend_compile_match() local
5763 zend_compile_expr(&expr_node, expr_ast); in zend_compile_match()
5796 zend_op *opline = zend_emit_op(NULL, ZEND_MATCH, &expr_node, &jumptable_op); in zend_compile_match()
5818 …uint32_t opcode = (expr_node.op_type & (IS_VAR|IS_TMP_VAR)) ? ZEND_CASE_STRICT : ZEND_IS_IDENTICAL; in zend_compile_match()
5819 zend_op *opline = zend_emit_op(NULL, opcode, &expr_node, &cond_node); in zend_compile_match()
5853 zend_op *opline = zend_emit_op(NULL, ZEND_MATCH_ERROR, &expr_node, NULL); in zend_compile_match()
5928 if (expr_node.op_type & (IS_VAR|IS_TMP_VAR)) { in zend_compile_match()
5929 zend_op *opline = zend_emit_op(NULL, ZEND_FREE, &expr_node, NULL); in zend_compile_match()
5931 } else if (expr_node.op_type == IS_CONST) { in zend_compile_match()
5932 zval_ptr_dtor_nogc(&expr_node.u.constant); in zend_compile_match()
8898 znode expr_node; in zend_compile_unary_op() local
8899 zend_compile_expr(&expr_node, expr_ast); in zend_compile_unary_op()
8901 if (expr_node.op_type == IS_CONST in zend_compile_unary_op()
8902 && zend_try_ct_eval_unary_op(&result->u.constant, opcode, &expr_node.u.constant)) { in zend_compile_unary_op()
8904 zval_ptr_dtor(&expr_node.u.constant); in zend_compile_unary_op()
8908 zend_emit_op_tmp(result, opcode, &expr_node, NULL); in zend_compile_unary_op()
8915 znode expr_node, right_node; in zend_compile_unary_pm() local
8919 zend_compile_expr(&expr_node, expr_ast); in zend_compile_unary_pm()
8921 if (expr_node.op_type == IS_CONST in zend_compile_unary_pm()
8922 && zend_try_ct_eval_unary_pm(&result->u.constant, ast->kind, &expr_node.u.constant)) { in zend_compile_unary_pm()
8924 zval_ptr_dtor(&expr_node.u.constant); in zend_compile_unary_pm()
8930 zend_emit_op_tmp(result, ZEND_MUL, &expr_node, &right_node); in zend_compile_unary_pm()
9048 znode expr_node; in zend_compile_cast() local
9051 zend_compile_expr(&expr_node, expr_ast); in zend_compile_cast()
9054 opline = zend_emit_op_tmp(result, ZEND_BOOL, &expr_node, NULL); in zend_compile_cast()
9058 opline = zend_emit_op_tmp(result, ZEND_CAST, &expr_node, NULL); in zend_compile_cast()
9154 znode expr_node, default_node; in zend_compile_coalesce() local
9158 zend_compile_var(&expr_node, expr_ast, BP_VAR_IS, 0); in zend_compile_coalesce()
9161 zend_emit_op_tmp(result, ZEND_COALESCE, &expr_node, NULL); in zend_compile_coalesce()
9289 znode expr_node; in zend_compile_print() local
9290 zend_compile_expr(&expr_node, expr_ast); in zend_compile_print()
9292 opline = zend_emit_op(NULL, ZEND_ECHO, &expr_node, NULL); in zend_compile_print()
9303 znode expr_node; in zend_compile_exit() local
9306 zend_compile_expr(&expr_node, expr_ast); in zend_compile_exit()
9308 expr_node.op_type = IS_UNUSED; in zend_compile_exit()
9311 zend_op *opline = zend_emit_op(NULL, ZEND_EXIT, &expr_node, NULL); in zend_compile_exit()
9359 znode expr_node; in zend_compile_yield_from() local
9368 zend_compile_expr(&expr_node, expr_ast); in zend_compile_yield_from()
9369 zend_emit_op_tmp(result, ZEND_YIELD_FROM, &expr_node, NULL); in zend_compile_yield_from()
9408 znode expr_node; in zend_compile_include_or_eval() local
9412 zend_compile_expr(&expr_node, expr_ast); in zend_compile_include_or_eval()
9414 opline = zend_emit_op(result, ZEND_INCLUDE_OR_EVAL, &expr_node, NULL); in zend_compile_include_or_eval()
9717 znode expr_node; in zend_compile_class_name() local
9718 zend_compile_expr(&expr_node, class_ast); in zend_compile_class_name()
9719 if (expr_node.op_type == IS_CONST) { in zend_compile_class_name()
9723 zend_zval_type_name(&expr_node.u.constant)); in zend_compile_class_name()
9726 zend_emit_op_tmp(result, ZEND_FETCH_CLASS_NAME, &expr_node, NULL); in zend_compile_class_name()