aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-08 22:40:09 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-08 22:40:09 +0000
commit892c7e1ec64650c6759c5f7f33f980ff8df9f464 (patch)
treebb571f45d62b0dc2127768c9739421820c72fe27 /gcc
parente1a8be3fb0f9ebb168e8e007844cc2361c9c5116 (diff)
downloadgcc-892c7e1ec64650c6759c5f7f33f980ff8df9f464.zip
gcc-892c7e1ec64650c6759c5f7f33f980ff8df9f464.tar.gz
gcc-892c7e1ec64650c6759c5f7f33f980ff8df9f464.tar.bz2
tree-inline.c (remap_save_expr): Make it static.
* tree-inline.c (remap_save_expr): Make it static. * tree-inline.h: Remove the corresponding prototype. From-SVN: r90313
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-inline.c3
-rw-r--r--gcc/tree-inline.h1
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a756a24..ed764d2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
+ * tree-inline.c (remap_save_expr): Make it static.
+ * tree-inline.h: Remove the corresponding prototype.
+
+2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
+
* tree-ssa-loop-niter.c (upper_bound_in_type,
lower_bound_in_type): Make them static.
* tree.h: Remove the corresponding prototypes.
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index afba090..eb4e58c 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -139,6 +139,7 @@ static tree mark_local_for_remap_r (tree *, int *, void *);
static void unsave_expr_1 (tree);
static tree unsave_r (tree *, int *, void *);
static void declare_inline_vars (tree bind_expr, tree vars);
+static void remap_save_expr (tree *, void *, int *);
/* Insert a tree->tree mapping for ID. Despite the name suggests
that the trees should be variables, it is used for more than that. */
@@ -2282,7 +2283,7 @@ copy_tree_r (tree *tp, int *walk_subtrees, void *data ATTRIBUTE_UNUSED)
information indicating to what new SAVE_EXPR this one should be mapped,
use that one. Otherwise, create a new node and enter it in ST. */
-void
+static void
remap_save_expr (tree *tp, void *st_, int *walk_subtrees)
{
splay_tree st = (splay_tree) st_;
diff --git a/gcc/tree-inline.h b/gcc/tree-inline.h
index ee8a51f..a8e9de6 100644
--- a/gcc/tree-inline.h
+++ b/gcc/tree-inline.h
@@ -29,7 +29,6 @@ bool tree_inlinable_function_p (tree);
tree copy_tree_r (tree *, int *, void *);
void clone_body (tree, tree, void *);
tree save_body (tree, tree *, tree *);
-void remap_save_expr (tree *, void *, int *);
int estimate_num_insns (tree expr);
/* 0 if we should not perform inlining.