This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r179283 - in /branches/pph/gcc/cp: ChangeLog.pp...
- From: dnovillo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 27 Sep 2011 16:30:12 -0000
- Subject: r179283 - in /branches/pph/gcc/cp: ChangeLog.pp...
Author: dnovillo
Date: Tue Sep 27 16:30:07 2011
New Revision: 179283
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179283
Log:
* pph-streamer-in.c (pph_read_namespace_tree): Do not insert
constants in the cache.
* pph-streamer-out.c (pph_cache_should_handle): New.
(pph_out_start_ref_record): Factor out of ...
(pph_out_start_record): ... here.
Change return value meaning; true means 'all done'; false
means 'caller should write data out'. Update all callers.
(pph_out_start_tree_record): New.
(pph_write_builtin): Remove. Update all users.
(pph_write_namespace_tree): Call pph_out_start_tree_record.
* pph-streamer.c (pph_cache_insert_at): Assert that we are
not trying to insert the same data more than once.
* pph-streamer.h (enum pph_record_marker): Add new value
PPH_RECORD_START_NO_CACHE.
(pph_in_record_marker): Handle it.
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