From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7695 invoked by alias); 2 Sep 2011 16:11:19 -0000 Received: (qmail 7682 invoked by uid 22791); 2 Sep 2011 16:11:18 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from nikam.ms.mff.cuni.cz (HELO nikam.ms.mff.cuni.cz) (195.113.20.16) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 02 Sep 2011 16:11:04 +0000 Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id DFCC69AC803; Fri, 2 Sep 2011 18:11:02 +0200 (CEST) Date: Fri, 02 Sep 2011 16:11:00 -0000 From: Jan Hubicka To: GCC Patches , Jan Hubicka Subject: Re: [PATCH] Store jump functions in a VECtor Message-ID: <20110902161102.GD28349@kam.mff.cuni.cz> References: <20110902152437.GD21553@virgil.arch.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110902152437.GD21553@virgil.arch.suse.de> User-Agent: Mutt/1.5.18 (2008-05-17) 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 X-SW-Source: 2011-09/txt/msg00184.txt.bz2 > 2011-09-02 Martin Jambor > > * ipa-prop.h (ipa_jump_func_t): New typedef. > (struct ipa_edge_args): Removed field argument_count, field > jump_functions turned into a vector. > (ipa_set_cs_argument_count): Removed. > (ipa_get_cs_argument_count): Updated to work on vectors. > (ipa_get_ith_jump_func): Likewise. > * ipa-prop.c (ipa_count_arguments): Removed. > (compute_scalar_jump_functions): Use ipa_get_ith_jump_func to access > jump functions. Update caller. > (compute_pass_through_member_ptrs): Likewise. > (compute_cst_member_ptr_arguments): Likewise. > (ipa_compute_jump_functions_for_edge): Get number of arguments from > the statement, allocate vector. > (ipa_compute_jump_functions): Do not call ipa_count_arguments. > (duplicate_ipa_jump_func_array): Removed. > (ipa_edge_duplication_hook): Use VEC_copy, do not copy argument count. > (ipa_read_node_info): Allocate vector. OK, thanks!