From: Michael Beck Date: Tue, 11 Jan 2005 14:29:41 +0000 (+0000) Subject: added call to init_hooks X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=bfbf4ab2c79abcd26b7846bec6993e823e8e5928;p=libfirm added call to init_hooks [r4852] --- 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();