diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2008-04-03 05:41:57 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2008-04-03 05:41:57 +0000 |
commit | 9ff420f135551a6d3582b986997ef78ac6762f56 (patch) | |
tree | 452e7c06ff6f1f3a8357898f7dcdc5ae66011637 /gcc/java | |
parent | d2784db4e5b1950ca24582e3dd716af7f5e04906 (diff) | |
download | gcc-9ff420f135551a6d3582b986997ef78ac6762f56.zip gcc-9ff420f135551a6d3582b986997ef78ac6762f56.tar.gz gcc-9ff420f135551a6d3582b986997ef78ac6762f56.tar.bz2 |
tree-inline.c (copy_generic_body, [...]): Export.
2007-03-09 Paolo Bonzini <bonzini@gnu.org>
* tree-inline.c (copy_generic_body, copy_decl_no_change): Export.
(remap_block): Call id->transform_lang_insert_block instead
of langhook.
(optimize_inline_calls, unsave_expr_now, tree_function_versioning):
Set id.transform_lang_insert_block to NULL.
(clone_body): Move to cp/optimize.c
* tree-inline.h (struct copy_body_data): Change
transform_lang_insert_block to function pointer.
(copy_generic_body, copy_decl_no_change): Export.
* langhooks.h (struct lang_hooks_for_decls): Kill insert_block.
* langhooks-def.h (LANG_HOOKS_INSERT_BLOCK): Kill.
(LANG_HOOKS_DECLS): Remove LANG_HOOKS_INSERT_BLOCK.
* c-tree.h (insert_block): Kill.
* c-decl.c (insert_block): Kill.
cp:
2007-03-09 Paolo Bonzini <bonzini@gnu.org>
* optimize.c (clone_body): New, from tree-inline.c.
ada:
2007-03-09 Paolo Bonzini <bonzini@gnu.org>
* gigi.h (insert_block): Kill.
* utils.c (insert_block): Kill.
java:
2007-03-09 Paolo Bonzini <bonzini@gnu.org>
* java-tree.h (insert_block): Kill.
* decl.c (insert_block): Kill.
fortran:
2007-03-09 Paolo Bonzini <bonzini@gnu.org>
* f95-lang.c (insert_block): Kill.
From-SVN: r133861
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/java/decl.c | 12 | ||||
-rw-r--r-- | gcc/java/java-tree.h | 1 |
3 files changed, 5 insertions, 13 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 2c2c35e..ee1790b 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2008-04-03 Paolo Bonzini <bonzini@gnu.org> + + * java-tree.h (insert_block): Kill. + * decl.c (insert_block): Kill. + 2008-04-01 Joseph Myers <joseph@codesourcery.com> * gcj.texi: Include gpl_v3.texi instead of gpl.texi diff --git a/gcc/java/decl.c b/gcc/java/decl.c index 9f08746..d449e39 100644 --- a/gcc/java/decl.c +++ b/gcc/java/decl.c @@ -1581,18 +1581,6 @@ force_poplevels (int start_pc) } } -/* 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); -} - /* integrate_decl_tree calls this function. */ void diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h index 494c428..02f93e2 100644 --- a/gcc/java/java-tree.h +++ b/gcc/java/java-tree.h @@ -1051,7 +1051,6 @@ extern int global_bindings_p (void); extern tree getdecls (void); extern void pushlevel (int); extern tree poplevel (int,int, int); -extern void insert_block (tree); extern tree pushdecl (tree); extern void java_init_decl_processing (void); extern void java_dup_lang_specific_decl (tree); |