From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10357 invoked by alias); 22 Aug 2015 03:23:04 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 10344 invoked by uid 89); 22 Aug 2015 03:23:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: fencepost.gnu.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (208.118.235.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 22 Aug 2015 03:23:01 +0000 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37156) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ZSzOU-0004Vy-TI for gcc-patches@gnu.org; Fri, 21 Aug 2015 23:22:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSzOR-0003xZ-AN for gcc-patches@gnu.org; Fri, 21 Aug 2015 23:22:58 -0400 Received: from mail-lb0-x22f.google.com ([2a00:1450:4010:c04::22f]:34974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSzOR-0003wQ-2Z for gcc-patches@gnu.org; Fri, 21 Aug 2015 23:22:55 -0400 Received: by lbcbn3 with SMTP id bn3so53675024lbc.2 for ; Fri, 21 Aug 2015 20:22:52 -0700 (PDT) X-Received: by 10.152.22.133 with SMTP id d5mr10640754laf.112.1440213772091; Fri, 21 Aug 2015 20:22:52 -0700 (PDT) Received: from [192.168.123.200] ([77.41.78.126]) by smtp.googlemail.com with ESMTPSA id d9sm2870285lah.40.2015.08.21.20.22.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Aug 2015 20:22:50 -0700 (PDT) Message-ID: <55D7EB0A.2030605@gmail.com> Date: Sat, 22 Aug 2015 07:01:00 -0000 From: Mikhail Maltsev User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Jeff Law , Richard Biener CC: gcc-patches Subject: Re: [PATCH 1/2] C++-ify dominance.c References: <55CD3C87.40101@gmail.com> <55CEB9E6.7060408@gmail.com> <55D380D1.1060709@redhat.com> In-Reply-To: <55D380D1.1060709@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22f X-IsSubscribed: yes X-SW-Source: 2015-08/txt/msg01353.txt.bz2 On 08/18/2015 10:00 PM, Jeff Law wrote: > On 08/14/2015 10:02 PM, Mikhail Maltsev wrote: >> >> gcc/ChangeLog: >> >> 2015-08-15 Mikhail Maltsev >> >> * dominance.c (new_zero_array): Define. >> (dom_info): Redefine as class with proper encapsulation. >> (dom_info::m_n_basic_blocks, m_reverse, m_start_block, m_end_block): >> Add new members. >> (dom_info::dom_info, ~dom_info): Define. Use new/delete for memory >> allocations/deallocations. Pass function as parameter (instead of >> using cfun). >> (dom_info::get_idom): Define accessor method. >> (dom_info::calc_dfs_tree_nonrec, calc_dfs_tree, compress, eval, >> link_roots, calc_idoms): Redefine as class members. Do not use cfun. >> (calculate_dominance_info): Adjust to use dom_info class. >> (verify_dominators): Likewise. >> > OK for the trunk. > > Thanks, > Jeff Committed as r227093. -- Regards, Mikhail Maltsev