Commit c24b7de9 by Kazu Hirata Committed by Kazu Hirata

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
parent 0385f644
......@@ -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.
......
......@@ -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);
......
......@@ -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 *);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment