This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Comment updates in ipa-prop.h
- From: Martin Jambor <mjambor at suse dot cz>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 29 Jun 2010 19:14:10 +0200
- Subject: [PATCH] Comment updates in ipa-prop.h
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.
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,