summaryrefslogtreecommitdiff
path: root/gcc/langhooks.h
diff options
context:
space:
mode:
authorAndrew Pinski <andrew_pinski@playstation.sony.com>2008-09-17 21:39:13 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2008-09-17 14:39:13 -0700
commit2700cb867541331e5ff208e451870c7a801a5613 (patch)
tree6cb176666db53c6b4190270715556b7607696332 /gcc/langhooks.h
parent6847a7549cc909ebb292eeb6b549ca4faf013874 (diff)
downloadgcc-2700cb867541331e5ff208e451870c7a801a5613.tar.gz
re PR objc/37460 (NeXT runtime ICEs)
2008-09-17 Andrew Pinski <andrew_pinski@playstation.sony.com> * 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 <andrew_pinski@playstation.sony.com> 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 <andrew_pinski@playstation.sony.com> * lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): Don't define. (java_get_callee_fndecl): Kill. 2008-09-17 Andrew Pinski <andrew_pinski@playstation.sony.com> PR objc/37460 * objcp-lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): Don't define. From-SVN: r140430
Diffstat (limited to 'gcc/langhooks.h')
-rw-r--r--gcc/langhooks.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h
index 2d62f99f28d..752ad99501f 100644
--- a/gcc/langhooks.h
+++ b/gcc/langhooks.h
@@ -354,9 +354,6 @@ struct lang_hooks
in contexts where erroneously returning 0 causes problems. */
int (*types_compatible_p) (tree x, tree y);
- /* Given a CALL_EXPR, return a function decl that is its target. */
- tree (*lang_get_callee_fndecl) (const_tree);
-
/* Called by report_error_function to print out function name. */
void (*print_error_function) (struct diagnostic_context *, const char *,
struct diagnostic_info *);