From 8cd2221a4b9f6636f627c3d6e9df131bf01d5abc Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sat, 11 Oct 2008 20:42:14 +0000 Subject: [PATCH] Remove the unused attribute const arch_env_t *arch_env from struct copy_opt_t. [r22751] --- ir/be/becopyopt.c | 1 - ir/be/becopyopt_t.h | 1 - 2 files changed, 2 deletions(-) diff --git a/ir/be/becopyopt.c b/ir/be/becopyopt.c index 47cd566bd..9ee05e6f9 100644 --- a/ir/be/becopyopt.c +++ b/ir/be/becopyopt.c @@ -196,7 +196,6 @@ copy_opt_t *new_copy_opt(be_chordal_env_t *chordal_env, cost_fct_t get_costs) co = XMALLOCZ(copy_opt_t); co->cenv = chordal_env; - co->aenv = chordal_env->birg->main_env->arch_env; co->irg = chordal_env->irg; co->cls = chordal_env->cls; co->get_costs = get_costs; diff --git a/ir/be/becopyopt_t.h b/ir/be/becopyopt_t.h index 6987be48e..3ada85a33 100644 --- a/ir/be/becopyopt_t.h +++ b/ir/be/becopyopt_t.h @@ -42,7 +42,6 @@ struct _copy_opt_t { be_chordal_env_t *cenv; const arch_register_class_t *cls; - const arch_env_t *aenv; ir_graph *irg; char *name; /**< ProgName__IrgName__RegClassName */ cost_fct_t get_costs; /**< function ptr used to get costs for copies */ -- 2.20.1