aboutsummaryrefslogtreecommitdiff
path: root/gcc/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/context.c')
-rw-r--r--gcc/context.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/context.c b/gcc/context.c
index 76e0dde..b515241 100644
--- a/gcc/context.c
+++ b/gcc/context.c
@@ -22,6 +22,12 @@ along with GCC; see the file COPYING3. If not see
#include "coretypes.h"
#include "ggc.h"
#include "context.h"
+#include "pass_manager.h"
/* The singleton holder of global state: */
gcc::context *g;
+
+gcc::context::context()
+{
+ passes_ = new gcc::pass_manager (this);
+}