summaryrefslogtreecommitdiff
path: root/gcc/langhooks.h
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dberlin.org>2007-04-06 16:51:18 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2007-04-06 16:51:18 +0000
commit9c269bf8e57a1a2f2c293c1825d8b39ba5a5e234 (patch)
treed5d20259cbddf8ebf8fde8b11874e9baa24fbf0c /gcc/langhooks.h
parent5e9f08ba5d00da123b200fd2d8c3ce9cd01ea9c8 (diff)
downloadgcc-9c269bf8e57a1a2f2c293c1825d8b39ba5a5e234.tar.gz
langhooks-def.h (LANG_HOOKS_INITIALIZER): Remove LANG_HOOKS_SAFE_FROM_P.
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. From-SVN: r123624
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);