From 2700cb867541331e5ff208e451870c7a801a5613 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Wed, 17 Sep 2008 21:39:13 +0000 Subject: re PR objc/37460 (NeXT runtime ICEs) 2008-09-17 Andrew Pinski * tree.c (get_callee_fndecl): Don't call the language hook. * langhooks.h (lang_hooks): Remove lang_get_callee_fndecl. * langhooks-def.h (LANG_HOOKS_GET_CALLEE_FNDECL): Kill. (LANG_HOOKS_INITIALIZER): Remove LANG_HOOKS_GET_CALLEE_FNDECL. 2008-09-17 Andrew Pinski PR objc/37460 * objc-lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): Don't define. * objc-act.h (objc_get_callee_fndecl): Remove prototype. * objc-act.c (objc_get_callee_fndecl): Kill. 2008-09-17 Andrew Pinski * lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): Don't define. (java_get_callee_fndecl): Kill. 2008-09-17 Andrew Pinski PR objc/37460 * objcp-lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): Don't define. From-SVN: r140430 --- gcc/objc/objc-lang.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'gcc/objc/objc-lang.c') diff --git a/gcc/objc/objc-lang.c b/gcc/objc/objc-lang.c index 11ba6ac..37c785c 100644 --- a/gcc/objc/objc-lang.c +++ b/gcc/objc/objc-lang.c @@ -48,8 +48,6 @@ static void objc_init_ts (void); #define LANG_HOOKS_DECL_PRINTABLE_NAME objc_printable_name #undef LANG_HOOKS_GIMPLIFY_EXPR #define LANG_HOOKS_GIMPLIFY_EXPR objc_gimplify_expr -#undef LANG_HOOKS_GET_CALLEE_FNDECL -#define LANG_HOOKS_GET_CALLEE_FNDECL objc_get_callee_fndecl #undef LANG_HOOKS_INIT_TS #define LANG_HOOKS_INIT_TS objc_init_ts -- cgit v1.1