tree-inline.c (remap_save_expr): Make it static.
authorKazu Hirata <kazu@cs.umass.edu>
Mon, 8 Nov 2004 22:40:09 +0000 (22:40 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Mon, 8 Nov 2004 22:40:09 +0000 (22:40 +0000)
* tree-inline.c (remap_save_expr): Make it static.
* tree-inline.h: Remove the corresponding prototype.

From-SVN: r90313

gcc/ChangeLog
gcc/tree-inline.c
gcc/tree-inline.h

index a756a2491d06e1ccf3dc594bfb03f127187238b0..ed764d23e823264c76b023e386c0cf6b3f217818 100644 (file)
@@ -1,3 +1,8 @@
+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,
index afba090bca7f8e8663d065636f07b0c990d1b784..eb4e58c7486113244dda3a44404c01091152bb75 100644 (file)
@@ -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_;
index ee8a51f7c12a882e7b61fdbacc28c82dec540e9a..a8e9de6c4c85edc6c529f2f01741c326bb797deb 100644 (file)
@@ -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.