diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2016-01-13 02:51:11 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2016-01-13 02:51:11 +0000 |
commit | 36365906b74c92f33668387ae16842ed9d6c1b2a (patch) | |
tree | 90e33426ec03a715686a01015843dc5a555b6afc /gcc/doc | |
parent | bf3f4b389a2e454149a2369f7d60edc9d8a0f9f9 (diff) | |
download | gcc-36365906b74c92f33668387ae16842ed9d6c1b2a.zip gcc-36365906b74c92f33668387ae16842ed9d6c1b2a.tar.gz gcc-36365906b74c92f33668387ae16842ed9d6c1b2a.tar.bz2 |
remove mark_hook gty attribute
gcc/ChangeLog:
2016-01-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
PR middle-end/54809
* doc/gty.texi: Remove documentation of mark_hook.
* gengtype.c (struct write_types_data): Remove code to support
mark_hook attribute.
(walk_type): Likewise.
(write_func_for_structure): Likewise.
From-SVN: r232309
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/gty.texi | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/doc/gty.texi b/gcc/doc/gty.texi index d3ca4e0..1a22e4b 100644 --- a/gcc/doc/gty.texi +++ b/gcc/doc/gty.texi @@ -261,16 +261,6 @@ garbage collection runs, there's no need to mark anything pointed to by this variable, it can just be set to @code{NULL} instead. This is used to keep a list of free structures around for re-use. -@findex mark_hook -@item mark_hook ("@var{hook-routine-name}") - -If provided for a structure or union type, the given -@var{hook-routine-name} (between double-quotes) is the name of a -routine called when the garbage collector has just marked the data as -reachable. This routine should not change the data, or call any ggc -routine. Its only argument is a pointer to the just marked (const) -structure or union. - @findex maybe_undef @item maybe_undef |