This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r217866 - in /trunk/gcc: ChangeLog doc/gty.texi...
- From: tbsaunde at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 20 Nov 2014 15:10:12 -0000
- Subject: r217866 - in /trunk/gcc: ChangeLog doc/gty.texi...
Author: tbsaunde
Date: Thu Nov 20 15:10:11 2014
New Revision: 217866
URL: https://gcc.gnu.org/viewcvs?rev=217866&root=gcc&view=rev
Log:
implement a replacement for if_marked
gcc/ChangeLog:
2014-11-20 Trevor Saunders <tsaunders@mozilla.com>
* doc/gty.texi: Document the new cache gty attribute.
* gengtype.c (finish_cache_funcs): New function.
(write_roots): Call gt_clear_cache on global variables with the cache
gty attribute.
* ggc-common.c (ggc_mark_roots): Call gt_clear_caches.
* ggc.h (gt_clear_caches): New declaration.
* hash-table.h (struct ggc_cache_hasher): New hasher for caches in gc
memory.
(gt_cleare_cache): New function.
* emit-rtl.c, rtl.h, tree.c: Use hash_table instead of htab.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/doc/gty.texi
trunk/gcc/emit-rtl.c
trunk/gcc/gengtype.c
trunk/gcc/ggc-common.c
trunk/gcc/ggc.h
trunk/gcc/hash-table.h
trunk/gcc/rtl.h
trunk/gcc/tree.c