Re: [PATCH 1/2] Introduce context class

2013-07-24 Thread David Malcolm
On Wed, 2013-07-24 at 18:55 -0400, Diego Novillo wrote: > On Wed, Jul 24, 2013 at 11:09 AM, David Malcolm wrote: > > gcc/ > > > > Introduce context class. > > > > * Makefile.in (CONTEXT_H): New. > > (OBJS): Add context.o. > > (toplev.o): Add CONTEXT_H to dependencie

Re: [PATCH 1/2] Introduce context class

2013-07-24 Thread Diego Novillo
On Wed, Jul 24, 2013 at 11:09 AM, David Malcolm wrote: > gcc/ > > Introduce context class. > > * Makefile.in (CONTEXT_H): New. > (OBJS): Add context.o. > (toplev.o): Add CONTEXT_H to dependencies. > (context.o): New. > > * toplev.c (general_init): Cr

[PATCH 1/2] Introduce context class

2013-07-24 Thread David Malcolm
gcc/ Introduce context class. * Makefile.in (CONTEXT_H): New. (OBJS): Add context.o. (toplev.o): Add CONTEXT_H to dependencies. (context.o): New. * toplev.c (general_init): Create the singleton gcc::context instance. * context.c: N