OSDN Git Service

* tree-inline.c (remap_save_expr): Make it static.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Nov 2004 22:40:09 +0000 (22:40 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Nov 2004 22:40:09 +0000 (22:40 +0000)
* tree-inline.h: Remove the corresponding prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90313 138bc75d-0d04-0410-961f-82ee72b054a4

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

index a756a24..ed764d2 100644 (file)
@@ -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.
index afba090..eb4e58c 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 ee8a51f..a8e9de6 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.