Patchwork Comment updates in ipa-prop.h

login
register
mail settings
Submitter Martin Jambor
Date June 29, 2010, 5:14 p.m.
Message ID <20100629171410.GB26624@virgil.arch.suse.de>
Download mbox | patch
Permalink /patch/57292/
State New
Headers show

Comments

Martin Jambor - June 29, 2010, 5:14 p.m.
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  <mjambor@suse.cz>

	* ipa-prop.h (struct ipa_node_params): Updated comment.
	(struct ipa_edge_args): Likewise.

Patch

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,