Lines Matching refs:left_node
9916 znode left_node, right_node; in zend_compile_binary_op() local
9918 zend_compile_expr(&left_node, left_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()
9926 zval_ptr_dtor(&left_node.u.constant); in zend_compile_binary_op()
9934 if (left_node.op_type == IS_CONST) { in zend_compile_binary_op()
9935 if (Z_TYPE(left_node.u.constant) == IS_FALSE) { in zend_compile_binary_op()
9939 } else if (Z_TYPE(left_node.u.constant) == IS_TRUE) { in zend_compile_binary_op()
9947 zend_emit_op_tmp(result, opcode, &left_node, NULL); in zend_compile_binary_op()
9951 zend_emit_op_tmp(result, opcode, &left_node, NULL); in zend_compile_binary_op()
9957 if (left_node.op_type == IS_CONST) { in zend_compile_binary_op()
9958 if (Z_TYPE(left_node.u.constant) <= IS_TRUE && Z_TYPE(left_node.u.constant) >= IS_NULL) { in zend_compile_binary_op()
9962 (1 << Z_TYPE(left_node.u.constant)) : in zend_compile_binary_op()
9963 (MAY_BE_ANY - (1 << Z_TYPE(left_node.u.constant))); in zend_compile_binary_op()
9968 zend_op *opline = zend_emit_op_tmp(result, ZEND_TYPE_CHECK, &left_node, NULL); in zend_compile_binary_op()
9978 if (left_node.op_type == IS_CONST) { in zend_compile_binary_op()
9979 if (Z_TYPE(left_node.u.constant) == IS_ARRAY) { in zend_compile_binary_op()
9980 zend_emit_op_tmp(&left_node, ZEND_CAST, &left_node, NULL)->extended_value = IS_STRING; in zend_compile_binary_op()
9982 convert_to_string(&left_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
10011 zend_compile_expr(&left_node, left_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()
10018 zval_ptr_dtor(&left_node.u.constant); in zend_compile_greater()
10025 &right_node, &left_node); in zend_compile_greater()
10075 znode left_node, right_node; in zend_compile_short_circuiting() local
10081 zend_compile_expr(&left_node, left_ast); in zend_compile_short_circuiting()
10083 if (left_node.op_type == IS_CONST) { in zend_compile_short_circuiting()
10084 if ((ast->kind == ZEND_AST_AND && !zend_is_true(&left_node.u.constant)) in zend_compile_short_circuiting()
10085 || (ast->kind == ZEND_AST_OR && zend_is_true(&left_node.u.constant))) { in zend_compile_short_circuiting()
10087 ZVAL_BOOL(&result->u.constant, zend_is_true(&left_node.u.constant)); in zend_compile_short_circuiting()
10101 zval_ptr_dtor(&left_node.u.constant); in zend_compile_short_circuiting()
10107 &left_node, NULL); in zend_compile_short_circuiting()
10109 if (left_node.op_type == IS_TMP_VAR) { in zend_compile_short_circuiting()
10110 SET_NODE(opline_jmpz->result, &left_node); in zend_compile_short_circuiting()