From: Michael Beck Date: Thu, 2 Sep 2004 08:07:58 +0000 (+0000) Subject: added options to statistic functions X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;ds=sidebyside;h=d08afa1a02ffbe092e1654327561ec08a8fad3c4;hp=4bd3b5671a4d424570183fe1bf44c4380771f2b5;p=libfirm added options to statistic functions renamed internal function to avoid name clash with gcc 3.4.1 [r3808] --- diff --git a/ir/common/firm.c b/ir/common/firm.c index c42db2f60..15621bbc2 100644 --- a/ir/common/firm.c +++ b/ir/common/firm.c @@ -50,9 +50,9 @@ init_firm(const firm_parameter_t *param) } /* initialize all ident stuff */ - init_ident (1024); + init_ident(1024); /* enhanced statistics, need idents */ - init_stat(); + init_stat(def_params.enable_statistics); /* create the type kinds. */ init_tpop(); /* create an obstack and put all tarvals in a pdeq */ @@ -64,7 +64,7 @@ init_firm(const firm_parameter_t *param) /* init graph construction */ init_irgraph(); /* kind of obstack initialization */ - init_mangle(); + firm_init_mangle(); /* initalize all op codes an irnode can consist of */ init_op(); /* called once for each run of this library */