tree-phinodes.c (make_phi_node): Mark static.

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.

From-SVN: r184545
This commit is contained in:
Bernhard Reutner-Fischer 2012-02-24 10:40:27 +01:00
parent 0eb09f3120
commit 4021ad5590
4 changed files with 7 additions and 6 deletions

View File

@ -1,3 +1,9 @@
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

View File

@ -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

View File

@ -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);

View File

@ -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;