From 4b0ec99aaca0c0a3e90593ff166eb474947241c0 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 26 Apr 2005 22:49:27 +0000 Subject: 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 --- gcc/ChangeLog | 3 +++ gcc/tree.h | 2 ++ 2 files changed, 5 insertions(+) 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 * 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]; }; -- cgit v1.1