From 1ab1e5cfbb96eacda67df0737ece873e1096fb42 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sat, 11 Oct 2008 20:11:52 +0000 Subject: [PATCH] Remove the unused attribute const arch_env_t *arch_env from struct mips_code_gen_t. [r22742] --- ir/be/mips/bearch_mips.c | 1 - ir/be/mips/bearch_mips_t.h | 1 - 2 files changed, 2 deletions(-) diff --git a/ir/be/mips/bearch_mips.c b/ir/be/mips/bearch_mips.c index c53dd9197..46e793d90 100644 --- a/ir/be/mips/bearch_mips.c +++ b/ir/be/mips/bearch_mips.c @@ -418,7 +418,6 @@ static void *mips_cg_init(be_irg_t *birg) cg->impl = &mips_code_gen_if; cg->irg = be_get_birg_irg(birg); cg->reg_set = new_set(mips_cmp_irn_reg_assoc, 1024); - cg->arch_env = arch_env; cg->isa = isa; cg->birg = birg; diff --git a/ir/be/mips/bearch_mips_t.h b/ir/be/mips/bearch_mips_t.h index 03c979a83..311439aaf 100644 --- a/ir/be/mips/bearch_mips_t.h +++ b/ir/be/mips/bearch_mips_t.h @@ -40,7 +40,6 @@ typedef struct mips_transform_env_t mips_transform_env_t; struct mips_code_gen_t { const arch_code_generator_if_t *impl; /**< implementation */ ir_graph *irg; /**< current irg */ - const arch_env_t *arch_env; /**< the arch env */ set *reg_set; /**< set to memorize registers for FIRM nodes (e.g. phi) */ mips_isa_t *isa; /**< the isa instance */ be_irg_t *birg; /**< The be-irg (contains additional information about the irg) */ -- 2.20.1