Some access routines for visited flags in entity.h, irnode.h,
[libfirm] / ir / common / firm.c
index a448a7f..786d35d 100644 (file)
@@ -5,6 +5,12 @@
 **
 */
 
+/* $Id$ */
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 # include <stdio.h>
 # include "ident_t.h"
 # include "firm.h"
@@ -12,6 +18,7 @@
 # include "xp_help.h"
 # include "irnode_t.h"
 # include "tv_t.h"
+# include "tpop_t.h"
 
 void
 init_firm (void)
@@ -22,9 +29,12 @@ init_firm (void)
   xprintf_register ('v', tarval_print);
   /* register the character 'R' as variable for ir node outputs. */
   xprintf_register ('R', ir_node_print);
+
   /* initialize all ident stuff */
   id_init ();
-  /* create an obstack and put alle tarvals in a pdeq */
+  /* create the type kinds. */
+  init_tpop ();
+  /* create an obstack and put all tarvals in a pdeq */
   tarval_init_1 ();
   /* initialize all modes an ir node can consist of */
   init_mode ();