aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-09-03 16:57:29 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2003-09-03 14:57:29 +0000
commit4a46cbfb11616480bfa04571be2145d7fa38986b (patch)
tree43fdb3d7f0644c079f62da1e10f12ecddb5b3649 /gcc/objc
parent4c620c398ef5e70e2fe3c6aa7b210b8416d460df (diff)
downloadgcc-4a46cbfb11616480bfa04571be2145d7fa38986b.zip
gcc-4a46cbfb11616480bfa04571be2145d7fa38986b.tar.gz
gcc-4a46cbfb11616480bfa04571be2145d7fa38986b.tar.bz2
Makefile.in (c-objc-common.o): Kill gt-c-objc-common.h dependency.
* Makefile.in (c-objc-common.o): Kill gt-c-objc-common.h dependency. * c-decl.c (finish_function): Kill arguments, always use cgraph path. * c-objc-common.c: Kill include of gt-c-objc-common.h (expand_deferred_fns, deffer_fn): Kill function. (deferred_fns): Kill variable. (finish_cdtor): Update finish_function call. (c_objc_common_finish_file): Always call cgraph code. * c-parse.c: Regenerate. * c-parse.y: Regenerate. * c-tree.h (finish_function): Update prototype. * objc-acct.c (build_module_descriptor, finish_method_def): Update call of finish_function. * cgraphunit.c (cgraph_default_inline_p, cgraph_analyze_function): Add forward prototype. (cgraph_finalize_function): In non-unit-at-a-time mode analyze the function and assemble it if needed. (cgraph_finalize_compilation_unit): Do nothing in non-unit-at-a-time mode. (cgraph_optimize): Likewise. (cgraph_expand_function): In non-unit-at-a-time mode keep function body even when it has no inline callees. * c-parse.in: Update calls to finish_function. From-SVN: r71028
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/objc-act.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index e5d6e52..8350cb9 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -1784,7 +1784,7 @@ build_module_descriptor ()
c_expand_expr_stmt (decelerator);
- finish_function (0, 0);
+ finish_function ();
return XEXP (DECL_RTL (init_function_decl), 0);
}
@@ -7391,7 +7391,7 @@ void
finish_method_def ()
{
lang_expand_function_end = objc_expand_function_end;
- finish_function (0, 1);
+ finish_function ();
lang_expand_function_end = NULL;
/* Required to implement _msgSuper. This must be done AFTER finish_function,