summaryrefslogtreecommitdiff
path: root/gcc/langhooks.h
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-17 21:39:13 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-17 21:39:13 +0000
commit4cd62850ebaa82a9d88f5999cfdbf470a7fdbdae (patch)
tree6cb176666db53c6b4190270715556b7607696332 /gcc/langhooks.h
parent064963bb8627ea69b3e3058976060a5c11a92c59 (diff)
downloadgcc-4cd62850ebaa82a9d88f5999cfdbf470a7fdbdae.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140430 138bc75d-0d04-0410-961f-82ee72b054a4
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 *);