tree-phinodes.c (remove_phi_arg_num): Make it static.
authorKazu Hirata <kazu@cs.umass.edu>
Mon, 22 Nov 2004 22:08:11 +0000 (22:08 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Mon, 22 Nov 2004 22:08:11 +0000 (22:08 +0000)
* tree-phinodes.c (remove_phi_arg_num): Make it static.
* tree-flow.h: Remove the corresponding prototype.

From-SVN: r91037

gcc/ChangeLog
gcc/tree-flow.h
gcc/tree-phinodes.c

index 440e813d32bd5cc64557b7f3e75b3926be9324dd..7f7933ba79066fcaec56b49be1dc02922b4f3203 100644 (file)
@@ -29,6 +29,9 @@
        * tree-ssa.c (ssa_remove_edge): Don't call remove_phi_args.
        (ssa_redirect_edge): Don't call remove_phi_arg_num.
 
+       * tree-phinodes.c (remove_phi_arg_num): Make it static.
+       * tree-flow.h: Remove the corresponding prototype.
+
 2004-11-23  Ben Elliston  <bje@au.ibm.com>
 
        * doc/cfg.texi (Maintaining the CFG): Use @ftable instead of
index 4b9a3ed5cf4f3cdcb4dbe446df027eb63995fb33..7ea17ea3628cff76c9bab6016b2693a57193a492 100644 (file)
@@ -511,7 +511,6 @@ extern tree_ann_t create_tree_ann (tree);
 extern tree create_phi_node (tree, basic_block);
 extern void add_phi_arg (tree *, tree, edge);
 extern void remove_phi_args (edge);
-extern void remove_phi_arg_num (tree, int);
 extern void remove_phi_node (tree, tree, basic_block);
 extern void remove_all_phi_nodes_for (bitmap);
 extern tree phi_reverse (tree);
index c4240e7cb69a157c0e60e65a22d9f47101c1f4f5..a6be8383855faefbf69db7a30ddc52f18fcc1a2d 100644 (file)
@@ -354,7 +354,7 @@ add_phi_arg (tree *phi, tree def, edge e)
    removal by swapping the last alternative with the alternative we want to
    delete, then shrinking the vector.  */
 
-void
+static void
 remove_phi_arg_num (tree phi, int i)
 {
   int num_elem = PHI_NUM_ARGS (phi);