gimplify.c (gimple_push_bind_expr, [...]): Make them static.
authorKazu Hirata <kazu@cs.umass.edu>
Tue, 8 Mar 2005 02:20:19 +0000 (02:20 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 8 Mar 2005 02:20:19 +0000 (02:20 +0000)
* 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

gcc/ChangeLog
gcc/gimplify.c
gcc/tree-gimple.h

index 4840a67..1569699 100644 (file)
@@ -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.
index d461d77..ba8e707 100644 (file)
@@ -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);
index de62d29..5f3431d 100644 (file)
@@ -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 *);