aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-04-26 22:49:27 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-04-26 22:49:27 +0000
commit4b0ec99aaca0c0a3e90593ff166eb474947241c0 (patch)
treebcf1b0b69ff3bb9b20bc4e42e249a4ef1d665a38 /gcc
parent69ebd99de381091fbb2778eee9c7894c6e2696bd (diff)
downloadgcc-4b0ec99aaca0c0a3e90593ff166eb474947241c0.zip
gcc-4b0ec99aaca0c0a3e90593ff166eb474947241c0.tar.gz
gcc-4b0ec99aaca0c0a3e90593ff166eb474947241c0.tar.bz2
tree.h (tree_phi_node): Add a comment about the order of PHI arguments.
* tree.h (tree_phi_node): Add a comment about the order of PHI arguments. From-SVN: r98798
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/tree.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7749832..8ba855b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -7,6 +7,9 @@
tree_ssa_iv_optimize_finalize): Use the VEC API instead of
VARRAY.
+ * tree.h (tree_phi_node): Add a comment about the order of PHI
+ arguments.
+
2005-04-26 Paul Brook <paul@codesourcery.com>
* config/arm/arm.md (thumb_mulsi3): Use two-operand assembly form.
diff --git a/gcc/tree.h b/gcc/tree.h
index 6bc8a34..40c3119 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -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];
};