From bfbf4ab2c79abcd26b7846bec6993e823e8e5928 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Tue, 11 Jan 2005 14:29:41 +0000 Subject: [PATCH] added call to init_hooks [r4852] --- ir/common/firm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ir/common/firm.c b/ir/common/firm.c index c169dced5..0564cd866 100644 --- a/ir/common/firm.c +++ b/ir/common/firm.c @@ -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(); -- 2.20.1