From: Kazu Hirata Date: Mon, 8 Nov 2004 22:40:09 +0000 (+0000) Subject: tree-inline.c (remap_save_expr): Make it static. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=892c7e1ec64650c6759c5f7f33f980ff8df9f464;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a756a2491d0..ed764d23e82 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-11-08 Kazu Hirata + + * tree-inline.c (remap_save_expr): Make it static. + * tree-inline.h: Remove the corresponding prototype. + 2004-11-08 Kazu Hirata * tree-ssa-loop-niter.c (upper_bound_in_type, 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.