Added initialization of irgraph module
authorGötz Lindenmaier <goetz@ipd.info.uni-karlsruhe.de>
Tue, 25 Feb 2003 09:24:29 +0000 (09:24 +0000)
committerGötz Lindenmaier <goetz@ipd.info.uni-karlsruhe.de>
Tue, 25 Feb 2003 09:24:29 +0000 (09:24 +0000)
[r824]

ir/common/firm.c
ir/common/firm.h

index f97fe2e..ff6a596 100644 (file)
@@ -21,6 +21,7 @@
 # include "tpop_t.h"
 # include "irnode_t.h"
 # include "irmode_t.h"
+# include "irgraph_t.h"
 
 void
 init_firm (void)
@@ -42,6 +43,8 @@ init_firm (void)
   init_mode ();
   /* initialize tarvals, and floating point arithmetic */
   tarval_init_2 ();
+  /* init graph construction */
+  init_irgraph();
   /* kind of obstack initialization */
   init_mangle ();
   /* initalize all op codes an irnode can consist of */
index bc9d476..a5cabf5 100644 (file)
@@ -81,6 +81,7 @@
 # include "irgmod.h"     /* Support to modify ir */
 # include "irgwalk.h"    /* Support to walk ir */
 # include "typewalk.h"   /* Support to walk type information */
+# include "typegmod.h"   /* Support to modify type graph */
 # include "mangle.h"     /* Support for mangling ident names. */
 
 /* @@@ temporarily for jni builder until preprocessor works.