diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2009-04-18 20:23:05 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2009-04-18 20:23:05 +0000 |
commit | 149ccdd45da46cb04df8efea654a52cf55573c87 (patch) | |
tree | be279cab9539493372eef347d7d03bea71d65f05 /gcc/cp/decl.c | |
parent | 3ce6296587139c291f7f5c31dbdc30e9c2e1829f (diff) | |
download | gcc-149ccdd45da46cb04df8efea654a52cf55573c87.zip gcc-149ccdd45da46cb04df8efea654a52cf55573c87.tar.gz gcc-149ccdd45da46cb04df8efea654a52cf55573c87.tar.bz2 |
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
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r-- | gcc/cp/decl.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 707bd33..cd550f2 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -783,18 +783,6 @@ poplevel (int keep, int reverse, int functionbody) 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 itself, calling F for each. The DATA is passed to F as well. */ |