projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcdbf85
)
added call to init_hooks
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Tue, 11 Jan 2005 14:29:41 +0000
(14:29 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Tue, 11 Jan 2005 14:29:41 +0000
(14:29 +0000)
[r4852]
ir/common/firm.c
patch
|
blob
|
history
diff --git
a/ir/common/firm.c
b/ir/common/firm.c
index
c169dce
..
0564cd8
100644
(file)
--- 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();