Introduce context class.
authorDavid Malcolm <dmalcolm@redhat.com>
Thu, 25 Jul 2013 00:14:01 +0000 (00:14 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Thu, 25 Jul 2013 00:14:01 +0000 (00:14 +0000)
commit8c5005ce365a7fcfd0de57b7f247097e3bbb5449
tree59690893637ad56224c275c8da65c63a006aec0b
parentb0c5dc1655bc88f34ecd1bf93ff297871b650392
Introduce context class.

2013-07-24  David Malcolm  <dmalcolm@redhat.com>

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: New.

* context.h: New.

From-SVN: r201230
gcc/ChangeLog
gcc/Makefile.in
gcc/context.c [new file with mode: 0644]
gcc/context.h [new file with mode: 0644]
gcc/toplev.c