Commit 61ea20f5 by Kazu Hirata Committed by Kazu Hirata

tree-phinodes.c (remove_phi_arg_num): Make it static.

	* tree-phinodes.c (remove_phi_arg_num): Make it static.
	* tree-flow.h: Remove the corresponding prototype.

From-SVN: r91037
parent e51546f8
......@@ -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
......
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment