Lines Matching refs:left_node
9908 znode left_node, right_node; in zend_compile_binary_op() local
9910 zend_compile_expr(&left_node, left_ast); in zend_compile_binary_op()
9913 if (left_node.op_type == IS_CONST && right_node.op_type == IS_CONST) { in zend_compile_binary_op()
9915 &left_node.u.constant, &right_node.u.constant) in zend_compile_binary_op()
9918 zval_ptr_dtor(&left_node.u.constant); in zend_compile_binary_op()
9926 if (left_node.op_type == IS_CONST) { in zend_compile_binary_op()
9927 if (Z_TYPE(left_node.u.constant) == IS_FALSE) { in zend_compile_binary_op()
9931 } else if (Z_TYPE(left_node.u.constant) == IS_TRUE) { in zend_compile_binary_op()
9939 zend_emit_op_tmp(result, opcode, &left_node, NULL); in zend_compile_binary_op()
9943 zend_emit_op_tmp(result, opcode, &left_node, NULL); in zend_compile_binary_op()
9949 if (left_node.op_type == IS_CONST) { in zend_compile_binary_op()
9950 if (Z_TYPE(left_node.u.constant) <= IS_TRUE && Z_TYPE(left_node.u.constant) >= IS_NULL) { in zend_compile_binary_op()
9954 (1 << Z_TYPE(left_node.u.constant)) : in zend_compile_binary_op()
9955 (MAY_BE_ANY - (1 << Z_TYPE(left_node.u.constant))); in zend_compile_binary_op()
9960 zend_op *opline = zend_emit_op_tmp(result, ZEND_TYPE_CHECK, &left_node, NULL); in zend_compile_binary_op()
9970 if (left_node.op_type == IS_CONST) { in zend_compile_binary_op()
9971 if (Z_TYPE(left_node.u.constant) == IS_ARRAY) { in zend_compile_binary_op()
9972 zend_emit_op_tmp(&left_node, ZEND_CAST, &left_node, NULL)->extended_value = IS_STRING; in zend_compile_binary_op()
9974 convert_to_string(&left_node.u.constant); in zend_compile_binary_op()
9984 if (left_node.op_type == IS_CONST && right_node.op_type == IS_CONST) { in zend_compile_binary_op()
9988 zend_emit_op_tmp(result, opcode, &left_node, &right_node); in zend_compile_binary_op()
9999 znode left_node, right_node; in zend_compile_greater() local
10003 zend_compile_expr(&left_node, left_ast); in zend_compile_greater()
10006 if (left_node.op_type == IS_CONST && right_node.op_type == IS_CONST) { in zend_compile_greater()
10009 &left_node.u.constant, &right_node.u.constant); in zend_compile_greater()
10010 zval_ptr_dtor(&left_node.u.constant); in zend_compile_greater()
10017 &right_node, &left_node); in zend_compile_greater()
10067 znode left_node, right_node; in zend_compile_short_circuiting() local
10073 zend_compile_expr(&left_node, left_ast); in zend_compile_short_circuiting()
10075 if (left_node.op_type == IS_CONST) { in zend_compile_short_circuiting()
10076 if ((ast->kind == ZEND_AST_AND && !zend_is_true(&left_node.u.constant)) in zend_compile_short_circuiting()
10077 || (ast->kind == ZEND_AST_OR && zend_is_true(&left_node.u.constant))) { in zend_compile_short_circuiting()
10079 ZVAL_BOOL(&result->u.constant, zend_is_true(&left_node.u.constant)); in zend_compile_short_circuiting()
10093 zval_ptr_dtor(&left_node.u.constant); in zend_compile_short_circuiting()
10099 &left_node, NULL); in zend_compile_short_circuiting()
10101 if (left_node.op_type == IS_TMP_VAR) { in zend_compile_short_circuiting()
10102 SET_NODE(opline_jmpz->result, &left_node); in zend_compile_short_circuiting()