summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-08 22:40:09 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-08 22:40:09 +0000
commit8c143e711794e9ebc5a059a1a4494a4da0b5b4a2 (patch)
treebb571f45d62b0dc2127768c9739421820c72fe27
parent0f94aa6bbbf5e33ae6a4dfe7bc2ca704db30aec8 (diff)
downloadgcc-8c143e711794e9ebc5a059a1a4494a4da0b5b4a2.tar.gz
* tree-inline.c (remap_save_expr): Make it static.
* tree-inline.h: Remove the corresponding prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90313 138bc75d-0d04-0410-961f-82ee72b054a4
-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 a756a2491d0..ed764d23e82 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 afba090bca7..eb4e58c7486 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 ee8a51f7c12..a8e9de6c4c8 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.