Commit 149ccdd4 by Kazu Hirata Committed by Kazu Hirata

cp-tree.h: Remove the prototype for insert_block.

	* cp-tree.h: Remove the prototype for insert_block.
	* decl.c (insert_block): Remove.

From-SVN: r146326
parent 3ce62965
2009-04-18 Kazu Hirata <kazu@codesourcery.com>
* cp-tree.h: Remove the prototype for insert_block.
* decl.c (insert_block): Remove.
2009-04-16 Ian Lance Taylor <iant@google.com> 2009-04-16 Ian Lance Taylor <iant@google.com>
* cp-tree.h (enum tsubst_flags): Rename from enum tsubst_flags_t. * cp-tree.h (enum tsubst_flags): Rename from enum tsubst_flags_t.
......
...@@ -4307,7 +4307,6 @@ extern void adjust_clone_args (tree); ...@@ -4307,7 +4307,6 @@ extern void adjust_clone_args (tree);
/* decl.c */ /* decl.c */
extern tree poplevel (int, int, int); extern tree poplevel (int, int, int);
extern void insert_block (tree);
extern tree pushdecl (tree); extern tree pushdecl (tree);
extern tree pushdecl_maybe_friend (tree, bool); extern tree pushdecl_maybe_friend (tree, bool);
extern void cxx_init_decl_processing (void); extern void cxx_init_decl_processing (void);
......
...@@ -783,18 +783,6 @@ poplevel (int keep, int reverse, int functionbody) ...@@ -783,18 +783,6 @@ poplevel (int keep, int reverse, int functionbody)
POP_TIMEVAR_AND_RETURN (TV_NAME_LOOKUP, block); POP_TIMEVAR_AND_RETURN (TV_NAME_LOOKUP, block);
} }
/* Insert BLOCK at the end of the list of subblocks of the
current binding level. This is used when a BIND_EXPR is expanded,
to handle the BLOCK node inside the BIND_EXPR. */
void
insert_block (tree block)
{
TREE_USED (block) = 1;
current_binding_level->blocks
= chainon (current_binding_level->blocks, block);
}
/* Walk all the namespaces contained NAMESPACE, including NAMESPACE /* Walk all the namespaces contained NAMESPACE, including NAMESPACE
itself, calling F for each. The DATA is passed to F as well. */ itself, calling F for each. The DATA is passed to F as well. */
......
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