Lines Matching refs:right_node
9916 znode left_node, right_node; in zend_compile_binary_op() local
9919 zend_compile_expr(&right_node, right_ast); in zend_compile_binary_op()
9921 if (left_node.op_type == IS_CONST && right_node.op_type == IS_CONST) { in zend_compile_binary_op()
9923 &left_node.u.constant, &right_node.u.constant) in zend_compile_binary_op()
9927 zval_ptr_dtor(&right_node.u.constant); in zend_compile_binary_op()
9937 zend_emit_op_tmp(result, opcode, &right_node, NULL); in zend_compile_binary_op()
9941 zend_emit_op_tmp(result, opcode, &right_node, NULL); in zend_compile_binary_op()
9944 } else if (right_node.op_type == IS_CONST) { in zend_compile_binary_op()
9945 if (Z_TYPE(right_node.u.constant) == IS_FALSE) { in zend_compile_binary_op()
9949 } else if (Z_TYPE(right_node.u.constant) == IS_TRUE) { in zend_compile_binary_op()
9959 zend_op *opline = zend_emit_op_tmp(result, ZEND_TYPE_CHECK, &right_node, NULL); in zend_compile_binary_op()
9966 } else if (right_node.op_type == IS_CONST) { in zend_compile_binary_op()
9967 if (Z_TYPE(right_node.u.constant) <= IS_TRUE && Z_TYPE(right_node.u.constant) >= IS_NULL) { in zend_compile_binary_op()
9971 (1 << Z_TYPE(right_node.u.constant)) : in zend_compile_binary_op()
9972 (MAY_BE_ANY - (1 << Z_TYPE(right_node.u.constant))); in zend_compile_binary_op()
9985 if (right_node.op_type == IS_CONST) { in zend_compile_binary_op()
9986 if (Z_TYPE(right_node.u.constant) == IS_ARRAY) { in zend_compile_binary_op()
9987 zend_emit_op_tmp(&right_node, ZEND_CAST, &right_node, NULL)->extended_value = IS_STRING; in zend_compile_binary_op()
9989 convert_to_string(&right_node.u.constant); in zend_compile_binary_op()
9992 if (left_node.op_type == IS_CONST && right_node.op_type == IS_CONST) { in zend_compile_binary_op()
9996 zend_emit_op_tmp(result, opcode, &left_node, &right_node); in zend_compile_binary_op()
10007 znode left_node, right_node; in zend_compile_greater() local
10012 zend_compile_expr(&right_node, right_ast); in zend_compile_greater()
10014 if (left_node.op_type == IS_CONST && right_node.op_type == IS_CONST) { in zend_compile_greater()
10017 &left_node.u.constant, &right_node.u.constant); in zend_compile_greater()
10019 zval_ptr_dtor(&right_node.u.constant); in zend_compile_greater()
10025 &right_node, &left_node); in zend_compile_greater()
10051 znode expr_node, right_node; in zend_compile_unary_pm() local
10064 right_node.op_type = IS_CONST; in zend_compile_unary_pm()
10065 ZVAL_LONG(&right_node.u.constant, (ast->kind == ZEND_AST_UNARY_PLUS) ? 1 : -1); in zend_compile_unary_pm()
10066 zend_emit_op_tmp(result, ZEND_MUL, &expr_node, &right_node); in zend_compile_unary_pm()
10075 znode left_node, right_node; in zend_compile_short_circuiting() local
10089 zend_compile_expr(&right_node, right_ast); in zend_compile_short_circuiting()
10091 if (right_node.op_type == IS_CONST) { in zend_compile_short_circuiting()
10093 ZVAL_BOOL(&result->u.constant, zend_is_true(&right_node.u.constant)); in zend_compile_short_circuiting()
10095 zval_ptr_dtor(&right_node.u.constant); in zend_compile_short_circuiting()
10097 zend_emit_op_tmp(result, ZEND_BOOL, &right_node, NULL); in zend_compile_short_circuiting()
10116 zend_compile_expr(&right_node, right_ast); in zend_compile_short_circuiting()
10118 opline_bool = zend_emit_op(NULL, ZEND_BOOL, &right_node, NULL); in zend_compile_short_circuiting()