aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-04 23:30:16 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-04 23:30:16 +0000
commitce9b3d494da899ce795d14532c4cd13d9a06058f (patch)
treebda4893b342591582f6cbcb946256f1ff4cc5d66 /gcc
parentbac6bfc5fd765702dc6d0b989b7b5015f8427f83 (diff)
downloadgcc-ce9b3d494da899ce795d14532c4cd13d9a06058f.zip
gcc-ce9b3d494da899ce795d14532c4cd13d9a06058f.tar.gz
gcc-ce9b3d494da899ce795d14532c4cd13d9a06058f.tar.bz2
tree-phinodes.c (make_phi_node): Make it static.
* tree-phinodes.c (make_phi_node): Make it static. * tree.h: Remove the prototypes for make_phi_node. From-SVN: r90093
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-phinodes.c2
-rw-r--r--gcc/tree.h1
3 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index bfdf1cc..59b2a1b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2004-11-04 Kazu Hirata <kazu@cs.umass.edu>
+ * tree-phinodes.c (make_phi_node): Make it static.
+ * tree.h: Remove the prototypes for make_phi_node.
+
+2004-11-04 Kazu Hirata <kazu@cs.umass.edu>
+
* stmt.c (expand_asm, expand_asm_operands): Make them static.
* tree.h: Remove the prototypes for expand_asm and
expand_asm_operands.
diff --git a/gcc/tree-phinodes.c b/gcc/tree-phinodes.c
index 5c5be3f..2e190e5 100644
--- a/gcc/tree-phinodes.c
+++ b/gcc/tree-phinodes.c
@@ -202,7 +202,7 @@ ideal_phi_node_len (int len)
definitions created when a variable is used without a preceding
definition). */
-tree
+static tree
make_phi_node (tree var, int len)
{
tree phi;
diff --git a/gcc/tree.h b/gcc/tree.h
index 0611c28..b35066d 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -2768,7 +2768,6 @@ extern tree make_tree_vec_stat (int MEM_STAT_DECL);
/* Tree nodes for SSA analysis. */
-extern tree make_phi_node (tree, int);
extern void init_phinodes (void);
extern void fini_phinodes (void);
extern void release_phi_node (tree);