From d2764e2dd35b831576251722eb96958cd055227f Mon Sep 17 00:00:00 2001 From: bonzini Date: Thu, 3 Apr 2008 05:38:32 +0000 Subject: 2008-04-03 Paolo Bonzini * c-objc-common.h (LANG_HOOKS_FUNCTION_ENTER_NESTED, LANG_HOOKS_FUNCTION_LEAVE_NESTED): Delete. * c-tree.h (c_push_function_context, c_pop_function_context): Remove argument. * c-decl.c (c_push_function_context, c_pop_function_context): Remove argument, call {push,pop}_function_context from here. * c-parser.c: Use c_{push,pop}_function_context. * function.c (push_function_context_to): Move meat ... (push_function_context): ... here. Simplify. * function.c (pop_function_context_from): Move meat ... (pop_function_context): ... here. Simplify. * langhooks.h (struct lang_hooks_for_functions): Remove enter_nested, leave_nested). * langhooks-def.h (LANG_HOOKS_FUNCTION_ENTER_NESTED, LANG_HOOKS_FUNCTION_LEAVE_NESTED): Delete. (LANG_HOOKS_FUNCTION_INITIALIZER): Delete them from here. * tree.h (push_function_context_to, pop_function_context_from): Remove. cp: 2008-04-03 Paolo Bonzini * method.c (synthesize_method): Use {push,pop}_function_context. * name-lookup.c (push_to_top_level): Likewise. * parser.c (cp_parser_late_parsing_for_member): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133860 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/langhooks.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gcc/langhooks.h') diff --git a/gcc/langhooks.h b/gcc/langhooks.h index 3ee23f69c0f..ef46912c8cb 100644 --- a/gcc/langhooks.h +++ b/gcc/langhooks.h @@ -64,12 +64,6 @@ struct lang_hooks_for_functions /* Called when leaving a function. */ void (*final) (struct function *); - /* Called when entering a nested function. */ - void (*enter_nested) (struct function *); - - /* Called when leaving a nested function. */ - void (*leave_nested) (struct function *); - /* Determines if it's ok for a function to have no noreturn attribute. */ bool (*missing_noreturn_ok_p) (tree); }; -- cgit v1.2.1