From: Christoph Mallon Date: Sat, 11 Oct 2008 19:57:42 +0000 (+0000) Subject: Remove the unused attribute const arch_env_t *arch_env from struct reg_pressure_main_... X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=ff9ebbf08414f8196d5744ae940671bb3fe9fbcd;p=libfirm Remove the unused attribute const arch_env_t *arch_env from struct reg_pressure_main_env_t. [r22737] --- diff --git a/ir/be/beschedregpress.c b/ir/be/beschedregpress.c index 0ad96d342..b6e0c6e76 100644 --- a/ir/be/beschedregpress.c +++ b/ir/be/beschedregpress.c @@ -50,7 +50,6 @@ typedef struct _usage_stats_t { typedef struct { const list_sched_selector_t *vtab; - const arch_env_t *arch_env; } reg_pressure_main_env_t; typedef struct { @@ -178,8 +177,7 @@ static void *reg_pressure_graph_init(const list_sched_selector_t *vtab, const be { reg_pressure_main_env_t *main_env = XMALLOC(reg_pressure_main_env_t); - main_env->arch_env = be_get_birg_arch_env(birg); - main_env->vtab = vtab; + main_env->vtab = vtab; irg_walk_graph(be_get_birg_irg(birg), firm_clear_link, NULL, NULL); return main_env;