aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/decl.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2007-09-11 12:39:53 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2007-09-11 10:39:53 +0000
commite89d6010089634063adfeeec679ac7fbf6afa4e6 (patch)
treea9c246259502c55141f2c727f2747541fd04e58b /gcc/java/decl.c
parent8ce4afa36d051920c2a67e54340e2a72fa33cbdd (diff)
downloadgcc-e89d6010089634063adfeeec679ac7fbf6afa4e6.zip
gcc-e89d6010089634063adfeeec679ac7fbf6afa4e6.tar.gz
gcc-e89d6010089634063adfeeec679ac7fbf6afa4e6.tar.bz2
decl.c (java_expand_body): Kill.
* decl.c (java_expand_body): Kill. (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill. * toplev.c (process_options): all frontends now do unit-at-a-time. * cgraphunit.c: update comments. (cgraph_expand_function): call passmanager dirrectly; emit thunks. * c-decl.c (finish_function): use cgraph_add_new_function. * method.c (use_thunk): Use tree_rest_of_compilation * cp-objecp-common.h (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill. (LANG_HOOKS_CALLGRAPH_EMIT_ASSOCIATED_THUNKS): Define. * cp-tree.h (expand_body): Kill. (emit_associated_thunks): Declare. * semantics.c (emit_associated_thunks): Export. (expand_body): Kill. * misc.c (gnat_expand_body): Kill. (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill. * f95-lang.c (gfc_expand_function): Kill. (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill. * function.c (expand_function_end): We are always unit-at-a-time. From-SVN: r128367
Diffstat (limited to 'gcc/java/decl.c')
-rw-r--r--gcc/java/decl.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index 594ccf1..2cf87c2 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -1862,14 +1862,6 @@ finish_method (tree fndecl)
cgraph_finalize_function (fndecl, false);
}
-/* Optimize and expand a function's entire body. */
-
-void
-java_expand_body (tree fndecl)
-{
- tree_rest_of_compilation (fndecl);
-}
-
/* We pessimistically marked all methods and fields external until we
knew what set of classes we were planning to compile. Now mark those
associated with CLASS to be generated locally as not external. */