kinds to be added to datastructures
[libfirm] / ir / common / firm.c
index ff6a596..c1bd93c 100644 (file)
@@ -24,7 +24,7 @@
 # include "irgraph_t.h"
 
 void
-init_firm (void)
+init_firm (default_initialize_local_variable_func_t *func)
 {
   /* register the character 'I' as variable for ident outputs. */
   xprintf_register ('I', ident_print);
@@ -38,19 +38,19 @@ init_firm (void)
   /* create the type kinds. */
   init_tpop ();
   /* create an obstack and put all tarvals in a pdeq */
-  tarval_init_1 ();
+  init_tarval_1 ();
   /* initialize all modes an ir node can consist of */
   init_mode ();
   /* initialize tarvals, and floating point arithmetic */
-  tarval_init_2 ();
+  init_tarval_2 ();
   /* init graph construction */
   init_irgraph();
   /* kind of obstack initialization */
   init_mangle ();
   /* initalize all op codes an irnode can consist of */
   init_op ();
-  /* called once for each run of this library, empty right now... @@@!!!
-     init_cons (); */
+  /* called once for each run of this library */
+  init_cons (func);
   /* Builds a construct allowing to access all information to be constructed
      later. */
   init_irprog ();