X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbephiopt.c;h=31a7786ffee1c46ee8891f32fbebcbc95fac6620;hb=321ae93c651a24f17e2b7540e67a959db803c40d;hp=53de2bc01c0e6ff2a535b2f88f41ab9c51d52759;hpb=a8bf13f2ccab7dafefe280b67f0ed39a0970255a;p=libfirm diff --git a/ir/be/bephiopt.c b/ir/be/bephiopt.c index 53de2bc01..31a7786ff 100644 --- a/ir/be/bephiopt.c +++ b/ir/be/bephiopt.c @@ -17,13 +17,14 @@ #include "bephicoal_t.h" #include "phistat.h" +#define DEBUG_LVL SET_LEVEL_1 + #define DO_PHI_STATISTICS #undef DUMP_IRG_PHI_STAT -#define DUMP_ALL_PHI_STAT - -#define DEBUG_LVL 1 +#define DUMP_CUMULATIVE #define CUMULATIVE_FILE "all.phistat" + #define ENV_PHI_STAT "PHI_STAT" static firm_dbg_module_t *dbgphi = NULL; @@ -64,7 +65,7 @@ void be_phi_opt(ir_graph* irg) { phi_stat_dump_pretty(buf); } #endif -#ifdef DUMP_ALL_PHI_STAT +#ifdef DUMP_CUMULATIVE phi_stat_update(CUMULATIVE_FILE); #endif phi_stat_update(getenv(ENV_PHI_STAT));