+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
@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
/* 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);
/* Return a PHI node with LEN argument slots for variable VAR. */
-gimple
+static gimple
make_phi_node (tree var, int len)
{
gimple phi;