Lines Matching refs:right_node
8963 znode left_node, right_node; in zend_compile_binary_op() local
8966 zend_compile_expr(&right_node, right_ast); in zend_compile_binary_op()
8968 if (left_node.op_type == IS_CONST && right_node.op_type == IS_CONST) { in zend_compile_binary_op()
8970 &left_node.u.constant, &right_node.u.constant) in zend_compile_binary_op()
8974 zval_ptr_dtor(&right_node.u.constant); in zend_compile_binary_op()
8984 zend_emit_op_tmp(result, opcode, &right_node, NULL); in zend_compile_binary_op()
8988 zend_emit_op_tmp(result, opcode, &right_node, NULL); in zend_compile_binary_op()
8991 } else if (right_node.op_type == IS_CONST) { in zend_compile_binary_op()
8992 if (Z_TYPE(right_node.u.constant) == IS_FALSE) { in zend_compile_binary_op()
8996 } else if (Z_TYPE(right_node.u.constant) == IS_TRUE) { in zend_compile_binary_op()
9006 zend_op *opline = zend_emit_op_tmp(result, ZEND_TYPE_CHECK, &right_node, NULL); in zend_compile_binary_op()
9013 } else if (right_node.op_type == IS_CONST) { in zend_compile_binary_op()
9014 if (Z_TYPE(right_node.u.constant) <= IS_TRUE && Z_TYPE(right_node.u.constant) >= IS_NULL) { in zend_compile_binary_op()
9018 (1 << Z_TYPE(right_node.u.constant)) : in zend_compile_binary_op()
9019 (MAY_BE_ANY - (1 << Z_TYPE(right_node.u.constant))); in zend_compile_binary_op()
9032 if (right_node.op_type == IS_CONST) { in zend_compile_binary_op()
9033 if (Z_TYPE(right_node.u.constant) == IS_ARRAY) { in zend_compile_binary_op()
9034 zend_emit_op_tmp(&right_node, ZEND_CAST, &right_node, NULL)->extended_value = IS_STRING; in zend_compile_binary_op()
9036 convert_to_string(&right_node.u.constant); in zend_compile_binary_op()
9039 if (left_node.op_type == IS_CONST && right_node.op_type == IS_CONST) { in zend_compile_binary_op()
9043 zend_emit_op_tmp(result, opcode, &left_node, &right_node); in zend_compile_binary_op()
9054 znode left_node, right_node; in zend_compile_greater() local
9059 zend_compile_expr(&right_node, right_ast); in zend_compile_greater()
9061 if (left_node.op_type == IS_CONST && right_node.op_type == IS_CONST) { in zend_compile_greater()
9064 &left_node.u.constant, &right_node.u.constant); in zend_compile_greater()
9066 zval_ptr_dtor(&right_node.u.constant); in zend_compile_greater()
9072 &right_node, &left_node); in zend_compile_greater()
9098 znode expr_node, right_node; in zend_compile_unary_pm() local
9111 right_node.op_type = IS_CONST; in zend_compile_unary_pm()
9112 ZVAL_LONG(&right_node.u.constant, (ast->kind == ZEND_AST_UNARY_PLUS) ? 1 : -1); in zend_compile_unary_pm()
9113 zend_emit_op_tmp(result, ZEND_MUL, &expr_node, &right_node); in zend_compile_unary_pm()
9122 znode left_node, right_node; in zend_compile_short_circuiting() local
9136 zend_compile_expr(&right_node, right_ast); in zend_compile_short_circuiting()
9138 if (right_node.op_type == IS_CONST) { in zend_compile_short_circuiting()
9140 ZVAL_BOOL(&result->u.constant, zend_is_true(&right_node.u.constant)); in zend_compile_short_circuiting()
9142 zval_ptr_dtor(&right_node.u.constant); in zend_compile_short_circuiting()
9144 zend_emit_op_tmp(result, ZEND_BOOL, &right_node, NULL); in zend_compile_short_circuiting()
9163 zend_compile_expr(&right_node, right_ast); in zend_compile_short_circuiting()
9165 opline_bool = zend_emit_op(NULL, ZEND_BOOL, &right_node, NULL); in zend_compile_short_circuiting()