r217866 - in /trunk/gcc: ChangeLog doc/gty.texi...

tbsaunde@gcc.gnu.org tbsaunde@gcc.gnu.org
Thu Nov 20 15:10:00 GMT 2014


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



More information about the Gcc-cvs mailing list