Unknown and Bad are pinned now, speeding up code placement and fixing some asserts...
[libfirm] / ir / common / firm.c
index 4c52d94..15621bb 100644 (file)
 /* init functions are not public */
 # include "tv_t.h"
 # include "tpop_t.h"
+# include "irprog_t.h"
 # include "irnode_t.h"
 # include "irmode_t.h"
+# include "ircons_t.h"
 # include "irgraph_t.h"
 # include "type_t.h"
 # include "type_identify.h"
@@ -48,9 +50,9 @@ init_firm(const firm_parameter_t *param)
   }
 
   /* initialize all ident stuff */
-  init_ident (1024);
+  init_ident(1024);
   /* enhanced statistics, need idents */
-  init_stat();
+  init_stat(def_params.enable_statistics);
   /* create the type kinds. */
   init_tpop();
   /* create an obstack and put all tarvals in a pdeq */
@@ -62,7 +64,7 @@ init_firm(const firm_parameter_t *param)
   /* init graph construction */
   init_irgraph();
   /* kind of obstack initialization */
-  init_mangle();
+  firm_init_mangle();
   /* initalize all op codes an irnode can consist of */
   init_op();
   /* called once for each run of this library */