aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-22 22:08:11 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-22 22:08:11 +0000
commita632e132537fef2e6ea7826db0a3902da61cae85 (patch)
tree09da600f7cc78ed206a214937defe39d62f57519 /gcc
parente4ff8a73f0dce6d3c535d2663b453170413c4709 (diff)
* tree-phinodes.c (remove_phi_arg_num): Make it static.
* tree-flow.h: Remove the corresponding prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91037 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/tree-flow.h1
-rw-r--r--gcc/tree-phinodes.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 440e813d32b..7f7933ba790 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h
index 4b9a3ed5cf4..7ea17ea3628 100644
--- a/gcc/tree-flow.h
+++ b/gcc/tree-flow.h
@@ -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);
diff --git a/gcc/tree-phinodes.c b/gcc/tree-phinodes.c
index c4240e7cb69..a6be8383855 100644
--- a/gcc/tree-phinodes.c
+++ b/gcc/tree-phinodes.c
@@ -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);