From d08afa1a02ffbe092e1654327561ec08a8fad3c4 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Thu, 2 Sep 2004 08:07:58 +0000 Subject: [PATCH 1/1] added options to statistic functions renamed internal function to avoid name clash with gcc 3.4.1 [r3808] --- ir/common/firm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 */ -- 2.20.1