diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/doc/gimple.texi | 4 | ||||
-rw-r--r-- | gcc/tree-flow.h | 1 | ||||
-rw-r--r-- | gcc/tree-phinodes.c | 2 |
4 files changed, 7 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 43ac703546f..71e0f889c77 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2012-02-23 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> + * tree-phinodes.c (make_phi_node): Mark static. + * tree-flow.h (make_phi_node): Remove extern decl. + * doc/gimple.texi (make_phi_node): Remove documentation. + +2012-02-23 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> + * tree-into-ssa (update_ssa): Avoid trailing whitespace in dump_file. * tree-ssa-sccvn.c (print_scc): Ditto. diff --git a/gcc/doc/gimple.texi b/gcc/doc/gimple.texi index b75dc7278a1..fa31eb00ea0 100644 --- a/gcc/doc/gimple.texi +++ b/gcc/doc/gimple.texi @@ -1963,10 +1963,6 @@ Set @code{CLAUSES} to be the clauses associated with @code{OMP_SINGLE} @code{G}. @subsection @code{GIMPLE_PHI} @cindex @code{GIMPLE_PHI} -@deftypefn {GIMPLE function} gimple make_phi_node (tree var, int len) -Build a @code{PHI} node with len argument slots for variable var. -@end deftypefn - @deftypefn {GIMPLE function} unsigned gimple_phi_capacity (gimple g) Return the maximum number of arguments supported by @code{GIMPLE_PHI} @code{G}. @end deftypefn diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index f4c4d5c7f96..319be2bb618 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -504,7 +504,6 @@ extern void find_referenced_vars_in (gimple); /* In tree-phinodes.c */ extern void reserve_phi_args_for_new_edge (basic_block); extern void add_phi_node_to_bb (gimple phi, basic_block bb); -extern gimple make_phi_node (tree var, int len); extern gimple create_phi_node (tree, basic_block); extern void add_phi_arg (gimple, tree, edge, source_location); extern void remove_phi_args (edge); diff --git a/gcc/tree-phinodes.c b/gcc/tree-phinodes.c index 1d7e5c26dcd..218a5515a38 100644 --- a/gcc/tree-phinodes.c +++ b/gcc/tree-phinodes.c @@ -204,7 +204,7 @@ ideal_phi_node_len (int len) /* Return a PHI node with LEN argument slots for variable VAR. */ -gimple +static gimple make_phi_node (tree var, int len) { gimple phi; |