]> git.ipfire.org Git - thirdparty/gcc.git/commit
Make gcc::context be GC-managed
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 20 Aug 2013 00:48:14 +0000 (00:48 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Tue, 20 Aug 2013 00:48:14 +0000 (00:48 +0000)
commit910c02a071adeae2000fedcfeba2172154f52c0d
tree080c5e5b18d9fa59fc4dff4c0c22fc13ee53b87c
parentc28878251aae25c0ce4ff7dfaf8fa22e9565757b
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.

From-SVN: r201864
gcc/ChangeLog
gcc/Makefile.in
gcc/context.c
gcc/context.h
gcc/gengtype.c