From patchwork Tue Jun 29 17:14:10 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Jambor X-Patchwork-Id: 57292 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id CB45FB6EF7 for ; Wed, 30 Jun 2010 03:14:21 +1000 (EST) Received: (qmail 31785 invoked by alias); 29 Jun 2010 17:14:19 -0000 Received: (qmail 31771 invoked by uid 22791); 29 Jun 2010 17:14:18 -0000 X-SWARE-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 29 Jun 2010 17:14:13 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.221.2]) by mx2.suse.de (Postfix) with ESMTP id 513578980B for ; Tue, 29 Jun 2010 19:14:11 +0200 (CEST) Date: Tue, 29 Jun 2010 19:14:10 +0200 From: Martin Jambor To: GCC Patches Subject: [PATCH] Comment updates in ipa-prop.h Message-ID: <20100629171410.GB26624@virgil.arch.suse.de> Mail-Followup-To: GCC Patches MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hi, a few months ago Steven asked me to update a number of comments in ipa-prop.h. I did change most of them in my devirtualization patches but these two somehow slipped through. I will commit this as obvious along with the next thing I'll commit in this area. Thanks, Martin 2010-06-29 Martin Jambor * ipa-prop.h (struct ipa_node_params): Updated comment. (struct ipa_edge_args): Likewise. Index: icln/gcc/ipa-prop.h =================================================================== --- icln.orig/gcc/ipa-prop.h +++ icln/gcc/ipa-prop.h @@ -170,9 +170,8 @@ struct ipa_param_descriptor parameters (such as ipa-cp). */ struct ipa_node_params { - /* Number of formal parameters of this function. When set to 0, - this function's parameters would not be analyzed by the different - stages of IPA CP. */ + /* Number of formal parameters of this function. When set to 0, this + function's parameters would not be analyzed by IPA CP. */ int param_count; /* Whether this function is called with variable number of actual arguments. */ @@ -251,9 +250,8 @@ ipa_is_called_with_var_arguments (struct -/* ipa_edge_args stores information related to a callsite and particularly - its arguments. It is pointed to by a field in the - callsite's corresponding cgraph_edge. */ +/* ipa_edge_args stores information related to a callsite and particularly its + arguments. It can be accessed by the IPA_EDGE_REF macro. */ typedef struct GTY(()) ipa_edge_args { /* Number of actual arguments in this callsite. When set to 0,