aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-03-08 02:20:19 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-03-08 02:20:19 +0000
commitc24b7de90d3e31a13d0bae78254c81765495006c (patch)
tree84e907a4ccd6e43c185cc2bac5bbaeb436f9432a
parent0385f644b804f4b4192b497503d0403e087137b1 (diff)
downloadgcc-c24b7de90d3e31a13d0bae78254c81765495006c.zip
gcc-c24b7de90d3e31a13d0bae78254c81765495006c.tar.gz
gcc-c24b7de90d3e31a13d0bae78254c81765495006c.tar.bz2
gimplify.c (gimple_push_bind_expr, [...]): Make them static.
* gimplify.c (gimple_push_bind_expr, gimple_pop_bind_expr, unshare_all_trees): Make them static. * tree-gimple.h: Remove the corresponding prototypes. From-SVN: r96079
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/gimplify.c6
-rw-r--r--gcc/tree-gimple.h3
3 files changed, 7 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4840a67..1569699 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -3,6 +3,10 @@
* tree-ssa-phiopt.c: Update copyright. Fix indentations.
Remove trailing spaces.
+ * gimplify.c (gimple_push_bind_expr, gimple_pop_bind_expr,
+ unshare_all_trees): Make them static.
+ * tree-gimple.h: Remove the corresponding prototypes.
+
2005-03-07 Per Bothner <per@bothner.com>
* tree.h (DECL_IS_BUILTIN): Reverted my patch from earlier today.
diff --git a/gcc/gimplify.c b/gcc/gimplify.c
index d461d77..ba8e707 100644
--- a/gcc/gimplify.c
+++ b/gcc/gimplify.c
@@ -157,14 +157,14 @@ pop_gimplify_context (tree body)
gimplify_ctxp = NULL;
}
-void
+static void
gimple_push_bind_expr (tree bind)
{
TREE_CHAIN (bind) = gimplify_ctxp->current_bind_expr;
gimplify_ctxp->current_bind_expr = bind;
}
-void
+static void
gimple_pop_bind_expr (void)
{
gimplify_ctxp->current_bind_expr
@@ -706,7 +706,7 @@ unvisit_body (tree *body_p, tree fndecl)
/* Unshare T and all the trees reached from T via TREE_CHAIN. */
-void
+static void
unshare_all_trees (tree t)
{
walk_tree (&t, copy_if_shared_r, NULL, NULL);
diff --git a/gcc/tree-gimple.h b/gcc/tree-gimple.h
index de62d29..5f3431d 100644
--- a/gcc/tree-gimple.h
+++ b/gcc/tree-gimple.h
@@ -121,9 +121,6 @@ extern void gimplify_and_add (tree, tree *);
/* Miscellaneous helpers. */
extern void gimple_add_tmp_var (tree);
extern tree gimple_current_bind_expr (void);
-extern void gimple_push_bind_expr (tree);
-extern void gimple_pop_bind_expr (void);
-extern void unshare_all_trees (tree);
extern tree voidify_wrapper_expr (tree, tree);
extern tree gimple_build_eh_filter (tree, tree, tree);
extern tree build_and_jump (tree *);