From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31030 invoked by alias); 10 Jun 2011 13:23:38 -0000 Received: (qmail 31021 invoked by uid 22791); 10 Jun 2011 13:23:37 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_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, 10 Jun 2011 13:23:23 +0000 Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id EFFB89AC86D; Fri, 10 Jun 2011 15:23:21 +0200 (CEST) Date: Fri, 10 Jun 2011 13:53:00 -0000 From: Jan Hubicka To: Michael Matz Cc: Jan Hubicka , gcc-patches@gcc.gnu.org Subject: Re: Cgraph alias reorg 2/14 (introduction of alias walkers) Message-ID: <20110610132321.GC10734@kam.mff.cuni.cz> References: <20110610001121.GB10734@kam.mff.cuni.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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-06/txt/msg00837.txt.bz2 > Hi, > > On Fri, 10 Jun 2011, Jan Hubicka wrote: > > > +static inline struct cgraph_node * > > +cgraph_function_or_thunk_node (struct cgraph_node *node, enum availability *availability) > > +{ > > + if (availability) > > + *availability = cgraph_function_body_availability (node); > > + return node; > > + return NULL; > > double return. Huh, thanks. Will fix that shortly. The function will change after IPA_REF_ALIAS bits are merged, so it is an artefact of breaking the patch series up. Honza > > > Ciao, > Michael.