aboutsummaryrefslogtreecommitdiff
path: root/gcc/langhooks.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2002-03-26 07:16:01 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-03-26 07:16:01 +0000
commit4f0ade925ddf1d8588568eec56e08bc1d14753b4 (patch)
tree8cda6f7ecc6d1edaf267ea2f85a413a2375c87ba /gcc/langhooks.h
parent90b2d2afa1e1d6b7a8c37b836de62f70d3a103e0 (diff)
downloadgcc-4f0ade925ddf1d8588568eec56e08bc1d14753b4.zip
gcc-4f0ade925ddf1d8588568eec56e08bc1d14753b4.tar.gz
gcc-4f0ade925ddf1d8588568eec56e08bc1d14753b4.tar.bz2
Makefile.in (ggc-common.o): Update.
* Makefile.in (ggc-common.o): Update. * c-decl.c (lang_mark_tree): Rename c_mark_tree. * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine. * c-tree.h (c_mark_tree): New. * ggc-common.c: Include langhooks.h. (gcc_mark_trees): Use new langhook. * ggc-callbacks.c: Delete file. * ggc.h (lang_mark_tree): Remove. * langhooks-def.h (LANG_HOOKS_MARK_TREE): New. (LANG_HOOKS_INITIALIZER): Update. * langhooks.h (struct lang_hooks): New hook. ada: * misc.c (LANG_HOOKS_MARK_TREE): Redefine. (lang_mark_tree): Make static, rename. cp: * cp-lang.c (LANG_HOOKS_MARK_TREE): Redefine. * cp-tree.h (cxx_mark_tree): New. * decl.c (lang_mark_tree): Rename cxx_mark_tree. f: * com.c (LANG_HOOKS_MARK_TREE): Redefine. (lang_mark_tree): Rename ffe_mark_tree, make static. java: * decl.c (lang_mark_tree): Rename java_mark_tree. * java-tree.h (java_mark_tree): New. * java-lang.c (LANG_HOOKS_MARK_TREE): Redefine. objc: * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine. From-SVN: r51369
Diffstat (limited to 'gcc/langhooks.h')
-rw-r--r--gcc/langhooks.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h
index d13d518..73a7628 100644
--- a/gcc/langhooks.h
+++ b/gcc/langhooks.h
@@ -184,6 +184,9 @@ struct lang_hooks
for the passed TARGET_EXPR. Return NULL if there is none. */
tree (*maybe_build_cleanup) PARAMS ((tree));
+ /* Mark nodes held through the lang_specific hooks in the tree. */
+ void (*mark_tree) PARAMS ((tree));
+
/* Nonzero if TYPE_READONLY and TREE_READONLY should always be honored. */
bool honor_readonly;