diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2001-11-12 00:02:36 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2001-11-12 00:02:36 +0000 |
commit | 8b0e9a7297b04510099c0cf5b30ad3c368bd9da0 (patch) | |
tree | 98496e95cb60a38b607a253c73d876f87f5d80fd /gcc/c-tree.h | |
parent | 950a3816a7e54f132d34e5458474db5465b917ca (diff) | |
download | gcc-8b0e9a7297b04510099c0cf5b30ad3c368bd9da0.tar.gz |
Makefile.in (c-lang.o): Depend on $(VARRAY_H).
* Makefile.in (c-lang.o): Depend on $(VARRAY_H).
* c-decl.c (c_expand_body): Take argument can_defer_p. Use it
to decide whether to defer a function.
(finish_function): Adjust.
(c_expand_deferred_function): New function.
* c-lang.c (deferred_fns): New variable.
(c_init): Initialize it, and mark it as a root.
(defer_fn): New function.
(finish_file): Expand all deferred functions.
* c-tree.h (defer_fn): Declare.
(c_expand_deferred_function): Likewise.
* objc/Make-lang.in (objc-act.o): Depend on $(VARRAY_H).
* objc-act.c (deferred_fns): New variable.
(objc_init): Initialize it, and mark it as a root.
(defer_fn): New function.
(finish_file): Expand all deferred functions.
From-SVN: r46933
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r-- | gcc/c-tree.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h index acde94ec2c5..19e5b03a79e 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -152,6 +152,8 @@ extern int maybe_objc_comptypes PARAMS ((tree, tree, int)); extern tree maybe_building_objc_message_expr PARAMS ((void)); extern int recognize_objc_keyword PARAMS ((void)); extern tree lookup_objc_ivar PARAMS ((tree)); +/* in c-lang.c and objc/objc-act.c */ +extern int defer_fn PARAMS ((tree)); /* in c-parse.in */ extern void c_parse_init PARAMS ((void)); @@ -219,6 +221,7 @@ extern tree start_struct PARAMS ((enum tree_code, tree)); extern void store_parm_decls PARAMS ((void)); extern tree xref_tag PARAMS ((enum tree_code, tree)); extern tree c_begin_compound_stmt PARAMS ((void)); +extern void c_expand_deferred_function PARAMS ((tree)); extern void c_expand_decl_stmt PARAMS ((tree)); /* in c-typeck.c */ |