This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r201864 - in /trunk/gcc: ChangeLog Makefile.in ...
- From: dmalcolm at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 20 Aug 2013 00:48:14 -0000
- Subject: r201864 - in /trunk/gcc: ChangeLog Makefile.in ...
Author: dmalcolm
Date: Tue Aug 20 00:48:14 2013
New Revision: 201864
URL: http://gcc.gnu.org/viewcvs?rev=201864&root=gcc&view=rev
Log:
Make gcc::context be GC-managed
* Makefile.in (GTFILES): Add context.h.
* context.c (gcc::context::operator new): New.
(gcc::context::gt_ggc_mx): New.
(gcc::context::gt_pch_nx): New.
(gcc::context::gt_pch_nx): New.
* context.h (gcc::context): Add GTY((user)) marking.
(gcc::context::operator new): New.
(gcc::context::gt_ggc_mx): New.
(gcc::context::gt_pch_nx): New.
(gcc::context::gt_pch_nx): New.
(g): Add GTY marking.
(gt_ggc_mx (gcc::context *)): New.
(gt_pch_nx (gcc::context *)): New.
(gt_pch_nx (gcc::context *ctxt, gt_pointer_operator op,
void *cookie)): New.
* gengtype.c (open_base_files) <ifiles>: Add context.h.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/Makefile.in
trunk/gcc/context.c
trunk/gcc/context.h
trunk/gcc/gengtype.c