aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-objc-common.h
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2008-04-04 14:57:18 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2008-04-04 14:57:18 +0000
commite892493899b225a21746d24221d7dc45fc19fed2 (patch)
tree4d59bdfcd5fb25b6d8efd2449db7fba8e15351f1 /gcc/c-objc-common.h
parent05008a0c3c6826ee6bc4b5d0368c068af1509d58 (diff)
downloadgcc-e892493899b225a21746d24221d7dc45fc19fed2.zip
gcc-e892493899b225a21746d24221d7dc45fc19fed2.tar.gz
gcc-e892493899b225a21746d24221d7dc45fc19fed2.tar.bz2
function.c (free_after_parsing): Replace with cxx_push_function_context from C++ front-end.
2008-04-03 Paolo Bonzini <bonzini@gnu.org> * function.c (free_after_parsing): Replace with cxx_push_function_context from C++ front-end. (allocate_struct_function): Don't call langhook. * langhooks.h (struct lang_hooks_for_functions): Delete. (struct lang_hooks): Add back missing_noreturn_ok_p here, delete member "function". * langhooks-def.h (LANG_HOOKS_MISSING_NORETURN_OK_P): Add. (LANG_HOOKS_FUNCTION_INIT, LANG_HOOKS_FUNCTION_FINAL, LANG_HOOKS_FUNCTION_MISSING_NORETURN_OK_P, LANG_HOOKS_FUNCTION_INITIALIZER): Delete. (LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_MISSING_NORETURN_OK_P, remove LANG_HOOKS_FUNCTION_INITIALIZER. * tree-cfg.c: Adjust call to missing_noreturn_ok_p langhook. * c-objc-common.h (LANG_HOOKS_FUNCTION_MISSING_NORETURN_OK_P): Rename to LANG_HOOKS_MISSING_NORETURN_OK_P. cp: 2008-04-03 Paolo Bonzini <bonzini@gnu.org> * decl.c (cxx_push_function_context): Delete. (cxx_pop_function_context): Delete. (start_preparsed_function): Merge cxx_push_function_context (!f->decl code only). * cp-objcp-common.h (LANG_HOOKS_FUNCTION_INIT, LANG_HOOKS_FUNCTION_FINAL): Delete. (LANG_HOOKS_FUNCTION_MISSING_NORETURN_OK_P): Rename to LANG_HOOKS_MISSING_NORETURN_OK_P. * cp-tree.h (cxx_push_function_context, cxx_pop_function_context): Delete prototype. * semantics.c (current_stmt_tree): Fix comment. From-SVN: r133900
Diffstat (limited to 'gcc/c-objc-common.h')
-rw-r--r--gcc/c-objc-common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-objc-common.h b/gcc/c-objc-common.h
index 5494ffb..c48838c 100644
--- a/gcc/c-objc-common.h
+++ b/gcc/c-objc-common.h
@@ -63,8 +63,8 @@ extern void c_initialize_diagnostics (diagnostic_context *);
#define LANG_HOOKS_PRINT_IDENTIFIER c_print_identifier
#undef LANG_HOOKS_TYPES_COMPATIBLE_P
#define LANG_HOOKS_TYPES_COMPATIBLE_P c_types_compatible_p
-#undef LANG_HOOKS_FUNCTION_MISSING_NORETURN_OK_P
-#define LANG_HOOKS_FUNCTION_MISSING_NORETURN_OK_P c_missing_noreturn_ok_p
+#undef LANG_HOOKS_MISSING_NORETURN_OK_P
+#define LANG_HOOKS_MISSING_NORETURN_OK_P c_missing_noreturn_ok_p
#undef LANG_HOOKS_DUP_LANG_SPECIFIC_DECL
#define LANG_HOOKS_DUP_LANG_SPECIFIC_DECL c_dup_lang_specific_decl
#undef LANG_HOOKS_BUILTIN_FUNCTION