added call to init_hooks
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 11 Jan 2005 14:29:41 +0000 (14:29 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 11 Jan 2005 14:29:41 +0000 (14:29 +0000)
[r4852]

ir/common/firm.c

index c169dce..0564cd8 100644 (file)
@@ -37,6 +37,7 @@
 # include "irreflect_t.h"
 # include "irarch.h"
 # include "reassoc_t.h"
+# include "irhooks.h"
 
 void
 init_firm(const firm_parameter_t *param)
@@ -59,7 +60,9 @@ init_firm(const firm_parameter_t *param)
 
   /* initialize all ident stuff */
   init_ident(def_params.id_if, 1024);
-  /* enhanced statistics, need idents */
+  /* initialize Firm hooks */
+  init_hooks();
+  /* enhanced statistics, need idents and hooks */
   init_stat(def_params.enable_statistics);
   /* create the type kinds. */
   init_tpop();