projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added average calculation of distribution table
[libfirm]
/
ir
/
common
/
firm.c
diff --git
a/ir/common/firm.c
b/ir/common/firm.c
index
4c35d24
..
75360cb
100644
(file)
--- a/
ir/common/firm.c
+++ b/
ir/common/firm.c
@@
-81,9
+81,9
@@
init_firm(const firm_parameter_t *param)
/* initialize all ident stuff */
init_ident(def_params.id_if, 1024);
/* initialize Firm hooks */
/* initialize all ident stuff */
init_ident(def_params.id_if, 1024);
/* initialize Firm hooks */
- init_hooks();
+
firm_
init_hooks();
/* enhanced statistics, need idents and hooks */
/* enhanced statistics, need idents and hooks */
- init_stat(def_params.enable_statistics);
+
firm_
init_stat(def_params.enable_statistics);
/* Edges need hooks. */
init_edges();
/* create the type kinds. */
/* Edges need hooks. */
init_edges();
/* create the type kinds. */
@@
-159,10
+159,10
@@
void free_firm(void) {
for (i = get_irp_n_types() - 1; i >= 0; --i)
free_type(get_irp_type(i));
for (i = get_irp_n_types() - 1; i >= 0; --i)
free_type(get_irp_type(i));
+ finish_op();
free_ir_prog();
finish_tarval();
free_ir_prog();
finish_tarval();
- finish_op();
finish_mode();
finish_tpop();
finish_ident();
finish_mode();
finish_tpop();
finish_ident();