aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Nemet <anemet@caviumnetworks.com>2008-11-14 23:17:14 +0000
committerAdam Nemet <nemet@gcc.gnu.org>2008-11-14 23:17:14 +0000
commitaf51c885f5fb605e9bb0916699e64a14b8193e2c (patch)
tree3c6e48b55a5ac284e5233cb40cb523f97412c04c
parent5800e0a0f201f8a6b4a179ae0dc335df100086dd (diff)
downloadgcc-af51c885f5fb605e9bb0916699e64a14b8193e2c.zip
gcc-af51c885f5fb605e9bb0916699e64a14b8193e2c.tar.gz
gcc-af51c885f5fb605e9bb0916699e64a14b8193e2c.tar.bz2
ira-int.h (struct ira_loop_tree_node): Improve comments for subloop_next/next and subloops/childen fields.
* ira-int.h (struct ira_loop_tree_node): Improve comments for subloop_next/next and subloops/childen fields. From-SVN: r141873
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/ira-int.h8
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6c45e49..34a5dc7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/ira-int.h b/gcc/ira-int.h
index 0ed1ec3..0b2e928 100644
--- a/gcc/ira-int.h
+++ b/gcc/ira-int.h
@@ -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;