r179282 - in /branches/pph/gcc/cp: ChangeLog.pp...

dnovillo@gcc.gnu.org dnovillo@gcc.gnu.org
Tue Sep 27 16:29:00 GMT 2011


Author: dnovillo
Date: Tue Sep 27 16:29:20 2011
New Revision: 179282

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179282
Log:
	* pph-streamer-in.c (pph_read_namespace_tree): Do not insert
        builtins into the cache.
        Call pph_cache_sign for decls and types.
	* pph-streamer-out.c (pph_write_builtin): New.
	(pph_write_namespace_tree): Call it.
        Handle builtins before calling pph_out_start_record.
	* pph-streamer.c (pph_init_preloaded_cache): Add comment.
	(pph_stream_open): Initialize preloaded_cache field.
	(pph_cache_insert_at): Assert that *MAP_SLOT is NULL.  Disable
        for now.
	(pph_cache_sign): New.
        (pph_cache_get): Move to pph-streamer.h.
	* pph-streamer.h (pph_cache_entry): Change type of field crc_nbytes
        to size_t.
        (pph_stream): Add field preloaded_cache.
	(pph_cache_select): Factor out of ...
	(pph_cache_get): ... here.
        Change all callers to call pph_cache_select first.
	(pph_cache_get_entry): New.

Modified:
    branches/pph/gcc/cp/ChangeLog.pph
    branches/pph/gcc/cp/pph-streamer-in.c
    branches/pph/gcc/cp/pph-streamer-out.c
    branches/pph/gcc/cp/pph-streamer.c
    branches/pph/gcc/cp/pph-streamer.h



More information about the Gcc-cvs mailing list