aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-08 22:36:48 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-08 22:36:48 +0000
commit1d9d86833d43af71da3b984092db7027130a8c25 (patch)
treea5ed8a542e1e31d8f4da3570ad2646fc113959f0 /gcc
parenta1d3c05ce7c009bfa0c88a84ce1521e55889648d (diff)
downloadgcc-1d9d86833d43af71da3b984092db7027130a8c25.zip
gcc-1d9d86833d43af71da3b984092db7027130a8c25.tar.gz
gcc-1d9d86833d43af71da3b984092db7027130a8c25.tar.bz2
tree-ssa-live.c (tpa_init, [...]): Make them static.
* tree-ssa-live.c (tpa_init, pop_best_coalesce): Make them static. * tree-ssa-live.h: Remove the corresponding prototypes. From-SVN: r90311
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/tree-ssa-live.c4
-rw-r--r--gcc/tree-ssa-live.h2
3 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 213f0dc..4c08af6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
+ * tree-ssa-live.c (tpa_init, pop_best_coalesce): Make them
+ static.
+ * tree-ssa-live.h: Remove the corresponding prototypes.
+
+2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
+
* tree-if-conv.c (tree_if_conversion): Make it static.
* tree-flow.h: Remove the corresponding prototype.
diff --git a/gcc/tree-ssa-live.c b/gcc/tree-ssa-live.c
index b3f0b78..554a039 100644
--- a/gcc/tree-ssa-live.c
+++ b/gcc/tree-ssa-live.c
@@ -779,7 +779,7 @@ calculate_live_on_exit (tree_live_info_p liveinfo)
/* Initialize a tree_partition_associator object using MAP. */
-tpa_p
+static tpa_p
tpa_init (var_map map)
{
tpa_p tpa;
@@ -1233,7 +1233,7 @@ sort_coalesce_list (coalesce_list_p cl)
partitions via P1 and P2. Their calculated cost is returned by the function.
NO_BEST_COALESCE is returned if the coalesce list is empty. */
-int
+static int
pop_best_coalesce (coalesce_list_p cl, int *p1, int *p2)
{
partition_pair_p node;
diff --git a/gcc/tree-ssa-live.h b/gcc/tree-ssa-live.h
index ee6ee4c..b109c25 100644
--- a/gcc/tree-ssa-live.h
+++ b/gcc/tree-ssa-live.h
@@ -356,7 +356,6 @@ static inline int tpa_next_partition (tpa_p, int);
static inline int tpa_num_trees (tpa_p);
static inline int tpa_find_tree (tpa_p, int);
static inline void tpa_decompact (tpa_p);
-extern tpa_p tpa_init (var_map);
extern void tpa_delete (tpa_p);
extern void tpa_dump (FILE *, tpa_p);
extern void tpa_remove_partition (tpa_p, int, int);
@@ -707,7 +706,6 @@ extern void dump_coalesce_list (FILE *, coalesce_list_p);
extern void delete_coalesce_list (coalesce_list_p);
#define NO_BEST_COALESCE -1
-extern int pop_best_coalesce (coalesce_list_p, int *, int *);
extern conflict_graph build_tree_conflict_graph (tree_live_info_p, tpa_p,
coalesce_list_p);