X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeifg.c;h=75e34055dac95141d1ee67f8b571c1241674fcf9;hb=cef18ca838e9ae77a4b962b4a3baab81e3f2dce8;hp=ed5e6204d5eb2f3f5f87c301bb00dc2c3dbc84f1;hpb=43b9e806f7877053e670b2a7228ba152018189e9;p=libfirm diff --git a/ir/be/beifg.c b/ir/be/beifg.c index ed5e6204d..75e34055d 100644 --- a/ir/be/beifg.c +++ b/ir/be/beifg.c @@ -48,7 +48,7 @@ /** Defines values for the ifg performance test */ #define BE_CH_PERFORMANCETEST_MIN_NODES (50) -#define BE_CH_PERFORMANCETEST_COUNT (10) +#define BE_CH_PERFORMANCETEST_COUNT (500) typedef struct _coloring_t coloring_t; @@ -339,10 +339,7 @@ void be_ifg_check_performance(be_chordal_env_t *chordal_env) int tests = BE_CH_PERFORMANCETEST_COUNT; coloring_t coloring; -#ifdef __linux__ - struct mallinfo minfo; - int used_memory = 0; -#endif /* __linux__ */ + int used_memory; int i = 0; int rt; @@ -354,7 +351,6 @@ void be_ifg_check_performance(be_chordal_env_t *chordal_env) if ((int) get_irg_estimated_node_cnt >= BE_CH_PERFORMANCETEST_MIN_NODES) { - coloring_init(&coloring, chordal_env->irg, chordal_env->birg->main_env->arch_env); coloring_save(&coloring); @@ -362,10 +358,8 @@ void be_ifg_check_performance(be_chordal_env_t *chordal_env) for (i = 0; i