* ira-int.h (struct ira_loop_tree_node): Improve comments for
authornemet <nemet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Nov 2008 23:17:14 +0000 (23:17 +0000)
committernemet <nemet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Nov 2008 23:17:14 +0000 (23:17 +0000)
subloop_next/next and subloops/childen fields.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141873 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/ira-int.h

index 6c45e49..34a5dc7 100644 (file)
@@ -1,3 +1,8 @@
+2008-11-14  Adam Nemet  <anemet@caviumnetworks.com>
+
+       * ira-int.h (struct ira_loop_tree_node): Improve comments for
+       subloop_next/next and subloops/childen fields.
+
 2008-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
 
        * config/spu/spu-elf.h (STANDARD_STARTFILE_PREFIX_2): Disable default.
index 0ed1ec3..0b2e928 100644 (file)
@@ -83,11 +83,11 @@ struct ira_loop_tree_node
   /* The node represents basic block if children == NULL.  */
   basic_block bb;    /* NULL for loop.  */
   struct loop *loop; /* NULL for BB.  */
-  /* The next (loop) node of with the same parent.  SUBLOOP_NEXT is
-     always NULL for BBs. */
+  /* NEXT/SUBLOOP_NEXT is the next node/loop-node of the same parent.
+     SUBLOOP_NEXT is always NULL for BBs.  */
   ira_loop_tree_node_t subloop_next, next;
-  /* The first (loop) node immediately inside the node.  SUBLOOPS is
-     always NULL for BBs.  */
+  /* CHILDREN/SUBLOOPS is the first node/loop-node immediately inside
+     the node.  They are NULL for BBs.  */
   ira_loop_tree_node_t subloops, children;
   /* The node immediately containing given node.  */
   ira_loop_tree_node_t parent;