diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-09-04 02:19:29 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-09-04 02:19:29 +0000 |
commit | 99dccabc3ce6ab4859abe72c0fce799b3a6be995 (patch) | |
tree | d2cde4436b711cd58164f9c519e9849a4f187ec5 /gcc/cp/except.c | |
parent | 8c5666b4c171c4f9989f1974272c1e393423d2f6 (diff) | |
download | gcc-99dccabc3ce6ab4859abe72c0fce799b3a6be995.zip gcc-99dccabc3ce6ab4859abe72c0fce799b3a6be995.tar.gz gcc-99dccabc3ce6ab4859abe72c0fce799b3a6be995.tar.bz2 |
Makefile.in (CXX_TREE_H): Include function.h.
* Makefile.in (CXX_TREE_H): Include function.h.
(decl.o): Don't depend on function.h.
(decl2.o): Likewise.
(typeck.o): Likewise.
(init.o): Likewise.
(method.o): Likewise.
* cp-tree.h: Include function.h.
(cp_function): Rename to language_function. Remove next.
(cp_function_chain): Make it a macro, not a variable.
(push_cp_function_context): Don't declare.
(pop_cp_function_context): Likewise.
* decl.c: Don't include function.h.
(push_cp_function_context): Make it static. Make it suitable for
a save_lang_status callback.
(pop_cp_function_context): Likewise.
(maybe_push_to_top_level): Call push_function_context_to, not
push_cp_function_context.
(pop_from_top_level): Call pop_function_context_from, not
pop_cp_function_context.
(init_decl_processing): Set save_lang_status and
restore_lang_status. Call push_function_context_to, not
push_cp_function_context.
(cp_function_chain): Remove.
* decl2.c: Don't include function.h.
* except.c: Don't include function.h.
(start_anon_func): Call push_function_context_to, not
push_cp_function_context.
(end_anon_func): Call pop_function_context_from, not
pop_cp_function_context.
* init.c: Don't include function.h.
* lex.c (begin_definition_of_inclass_inline): Call
push_function_context_to, not push_cp_function_context.
(process_next_inline): Call pop_function_context_from, not
pop_cp_function_context.
* method.c: Don't include function.h.
(synthesize_method): Call push_function_context_to, not
push_cp_function_context. Call pop_function_context_from, not
pop_cp_function_context.
* typeck.c: Don't include function.h.
From-SVN: r29096
Diffstat (limited to 'gcc/cp/except.c')
-rw-r--r-- | gcc/cp/except.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/cp/except.c b/gcc/cp/except.c index f4615ad..c5a80de 100644 --- a/gcc/cp/except.c +++ b/gcc/cp/except.c @@ -32,7 +32,6 @@ Boston, MA 02111-1307, USA. */ #include "expr.h" #include "output.h" #include "except.h" -#include "function.h" #include "defaults.h" #include "toplev.h" #include "eh-common.h" @@ -807,7 +806,7 @@ start_anon_func () tree params; tree t; - push_cp_function_context (NULL_TREE); + push_function_context_to (NULL_TREE); push_to_top_level (); /* No need to mangle this. */ @@ -847,7 +846,7 @@ end_anon_func () finish_function (lineno, 0, 0); pop_from_top_level (); - pop_cp_function_context (NULL_TREE); + pop_function_context_from (NULL_TREE); } /* Return a pointer to a buffer for an exception object of type TYPE. */ |