On Sat, 2013-08-03 at 08:19 -1000, Richard Henderson wrote:
> On 08/02/2013 02:43 PM, David Malcolm wrote:
> > gcc/
> > * 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.
On 08/02/2013 02:43 PM, David Malcolm wrote:
> gcc/
> * 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
On Fri, 2013-08-02 at 14:31 -0400, David Malcolm wrote:
> On Thu, 2013-08-01 at 11:28 -1000, Richard Henderson wrote:
> > On 07/26/2013 05:04 AM, David Malcolm wrote:
> > > +/* Functions relating to the garbage collector. */
> > > +void
> > > +gcc::context::gt_ggc_mx ()
> > > +{
> > > + /* Curren
On Thu, 2013-08-01 at 11:28 -1000, Richard Henderson wrote:
> On 07/26/2013 05:04 AM, David Malcolm wrote:
> > +/* Functions relating to the garbage collector. */
> > +void
> > +gcc::context::gt_ggc_mx ()
> > +{
> > + /* Currently a no-op. */
> > +}
> > +
> > +void
> > +gcc::context::gt_pch_nx (
On 07/26/2013 05:04 AM, David Malcolm wrote:
> +/* Functions relating to the garbage collector. */
> +void
> +gcc::context::gt_ggc_mx ()
> +{
> + /* Currently a no-op. */
> +}
> +
> +void
> +gcc::context::gt_pch_nx ()
> +{
> + /* Currently a no-op. */
> +}
> +
> +void
> +gcc::context::gt_pch_n
This patch makes gcc::context instances be allocated within the GC-heap,
and adds traversal hooks for GC/PCH so that a gcc::context can own refs
to other GC-allocated objects.
gcc/
* Makefile.in (GTFILES): Add context.h.
* context.c (gcc::context::operator new): New.
(gcc::