This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] tree.h: Add a comment to tree_phi_node.


Hi,

Attached is a patch to add a comment to tree_phi_node.

Committed as obvious.

Kazu Hirata

2005-04-26  Kazu Hirata  <kazu@cs.umass.edu>

	* tree.h (tree_phi_node): Add a comment about the order of PHI
	arguments.

Index: tree.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree.h,v
retrieving revision 1.720
diff -u -d -p -r1.720 tree.h
--- tree.h	24 Apr 2005 14:05:06 -0000	1.720
+++ tree.h	26 Apr 2005 22:47:26 -0000
@@ -1439,6 +1439,8 @@ struct tree_phi_node GTY(())
   /* Basic block to that the phi node belongs.  */
   struct basic_block_def *bb;
 
+  /* Arguments of the PHI node.  These are maintained in the same
+     order as predecessor edge vector BB->PREDS.  */
   struct phi_arg_d GTY ((length ("((tree)&%h)->phi.num_args"))) a[1];
 };
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]