Lines Matching refs:right_node

8645 	znode left_node, right_node;  in zend_compile_binary_op()  local
8648 zend_compile_expr(&right_node, right_ast); in zend_compile_binary_op()
8650 if (left_node.op_type == IS_CONST && right_node.op_type == IS_CONST) { in zend_compile_binary_op()
8652 &left_node.u.constant, &right_node.u.constant) in zend_compile_binary_op()
8656 zval_ptr_dtor(&right_node.u.constant); in zend_compile_binary_op()
8666 zend_emit_op_tmp(result, opcode, &right_node, NULL); in zend_compile_binary_op()
8670 zend_emit_op_tmp(result, opcode, &right_node, NULL); in zend_compile_binary_op()
8673 } else if (right_node.op_type == IS_CONST) { in zend_compile_binary_op()
8674 if (Z_TYPE(right_node.u.constant) == IS_FALSE) { in zend_compile_binary_op()
8678 } else if (Z_TYPE(right_node.u.constant) == IS_TRUE) { in zend_compile_binary_op()
8688 zend_op *opline = zend_emit_op_tmp(result, ZEND_TYPE_CHECK, &right_node, NULL); in zend_compile_binary_op()
8695 } else if (right_node.op_type == IS_CONST) { in zend_compile_binary_op()
8696 if (Z_TYPE(right_node.u.constant) <= IS_TRUE && Z_TYPE(right_node.u.constant) >= IS_NULL) { in zend_compile_binary_op()
8700 (1 << Z_TYPE(right_node.u.constant)) : in zend_compile_binary_op()
8701 (MAY_BE_ANY - (1 << Z_TYPE(right_node.u.constant))); in zend_compile_binary_op()
8714 if (right_node.op_type == IS_CONST) { in zend_compile_binary_op()
8715 if (Z_TYPE(right_node.u.constant) == IS_ARRAY) { in zend_compile_binary_op()
8716 zend_emit_op_tmp(&right_node, ZEND_CAST, &right_node, NULL)->extended_value = IS_STRING; in zend_compile_binary_op()
8718 convert_to_string(&right_node.u.constant); in zend_compile_binary_op()
8721 if (left_node.op_type == IS_CONST && right_node.op_type == IS_CONST) { in zend_compile_binary_op()
8725 zend_emit_op_tmp(result, opcode, &left_node, &right_node); in zend_compile_binary_op()
8736 znode left_node, right_node; in zend_compile_greater() local
8741 zend_compile_expr(&right_node, right_ast); in zend_compile_greater()
8743 if (left_node.op_type == IS_CONST && right_node.op_type == IS_CONST) { in zend_compile_greater()
8746 &left_node.u.constant, &right_node.u.constant); in zend_compile_greater()
8748 zval_ptr_dtor(&right_node.u.constant); in zend_compile_greater()
8754 &right_node, &left_node); in zend_compile_greater()
8780 znode expr_node, right_node; in zend_compile_unary_pm() local
8793 right_node.op_type = IS_CONST; in zend_compile_unary_pm()
8794 ZVAL_LONG(&right_node.u.constant, (ast->kind == ZEND_AST_UNARY_PLUS) ? 1 : -1); in zend_compile_unary_pm()
8795 zend_emit_op_tmp(result, ZEND_MUL, &expr_node, &right_node); in zend_compile_unary_pm()
8804 znode left_node, right_node; in zend_compile_short_circuiting() local
8818 zend_compile_expr(&right_node, right_ast); in zend_compile_short_circuiting()
8820 if (right_node.op_type == IS_CONST) { in zend_compile_short_circuiting()
8822 ZVAL_BOOL(&result->u.constant, zend_is_true(&right_node.u.constant)); in zend_compile_short_circuiting()
8824 zval_ptr_dtor(&right_node.u.constant); in zend_compile_short_circuiting()
8826 zend_emit_op_tmp(result, ZEND_BOOL, &right_node, NULL); in zend_compile_short_circuiting()
8845 zend_compile_expr(&right_node, right_ast); in zend_compile_short_circuiting()
8847 opline_bool = zend_emit_op(NULL, ZEND_BOOL, &right_node, NULL); in zend_compile_short_circuiting()