summaryrefslogtreecommitdiff
path: root/gcc/langhooks.h
diff options
context:
space:
mode:
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-06 16:51:18 +0000
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-06 16:51:18 +0000
commitb140c9fddcde2fb6ed623520c3418d83e986d238 (patch)
treed5d20259cbddf8ebf8fde8b11874e9baa24fbf0c /gcc/langhooks.h
parent35a465686d10e9e2357cb0fbccc4537f5a62a9bd (diff)
downloadgcc-b140c9fddcde2fb6ed623520c3418d83e986d238.tar.gz
2007-04-06 Daniel Berlin <dberlin@dberlin.org>
* langhooks-def.h (LANG_HOOKS_INITIALIZER): Remove LANG_HOOKS_SAFE_FROM_P. * expr.c (safe_from_p): Remove langhook call. * langhooks.h (lang_hooks): Remove safe_from_p. (lhd_safe_from_p): Remove prototype. * langhooks.c (lhd_safe_from_p): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123624 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/langhooks.h')
-rw-r--r--gcc/langhooks.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h
index b7116103f85..f0220fc91c3 100644
--- a/gcc/langhooks.h
+++ b/gcc/langhooks.h
@@ -315,15 +315,6 @@ struct lang_hooks
1 if handled, 0 otherwise. */
int (*expand_decl) (tree);
- /* Hook called by safe_from_p for language-specific tree codes. It is
- up to the language front-end to install a hook if it has any such
- codes that safe_from_p needs to know about. Since same_from_p will
- recursively explore the TREE_OPERANDs of an expression, this hook
- should not reexamine those pieces. This routine may recursively
- call safe_from_p; it should always pass `0' as the TOP_P
- parameter. */
- int (*safe_from_p) (rtx, tree);
-
/* Function to finish handling an incomplete decl at the end of
compilation. Default hook is does nothing. */
void (*finish_incomplete_decl) (tree);