aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.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/toplev.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/toplev.c')
-rw-r--r--gcc/toplev.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 76887bc..0c4b638 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -1785,11 +1785,6 @@ process_options (void)
if (flag_asynchronous_unwind_tables)
flag_unwind_tables = 1;
- /* Disable unit-at-a-time mode for frontends not supporting callgraph
- interface. */
- if (flag_unit_at_a_time && ! lang_hooks.callgraph.expand_function)
- flag_unit_at_a_time = 0;
-
if (!flag_unit_at_a_time)
flag_section_anchors = 0;