From: Christoph Mallon Date: Sat, 11 Oct 2008 19:54:13 +0000 (+0000) Subject: Remove the unused attribute const arch_env_t *arch_env from struct regpressure_ana_t. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=dac5d2282331e033aeb383c5719318e46673f3d7;p=libfirm Remove the unused attribute const arch_env_t *arch_env from struct regpressure_ana_t. [r22735] --- diff --git a/ir/be/bepressurestat.c b/ir/be/bepressurestat.c index 111007df5..d3498ab7e 100644 --- a/ir/be/bepressurestat.c +++ b/ir/be/bepressurestat.c @@ -61,7 +61,6 @@ #define MAXPRESSURE 128 typedef struct _regpressure_ana_t { - arch_env_t *arch_env; const arch_register_class_t *cls; const be_lv_t *lv; unsigned int *stat; @@ -134,10 +133,9 @@ void be_analyze_regpressure(be_irg_t *birg, const arch_register_class_t *cls, co FIRM_DBG_REGISTER(ra.dbg, "firm.be.regpressureana"); - ra.arch_env = birg->main_env->arch_env; - ra.lv = be_get_birg_liveness(birg); - ra.cls = cls; - ra.stat = stat; + ra.lv = be_get_birg_liveness(birg); + ra.cls = cls; + ra.stat = stat; memset(stat, 0, sizeof(stat));