From 23b298de5b1e607a7066b759317840d9db104446 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sat, 11 Oct 2008 20:10:16 +0000 Subject: [PATCH] Remove the unused attribute const arch_env_t *arch_env from struct ppc32_code_gen_t. [r22741] --- ir/be/ppc32/bearch_ppc32.c | 1 - ir/be/ppc32/bearch_ppc32_t.h | 1 - 2 files changed, 2 deletions(-) diff --git a/ir/be/ppc32/bearch_ppc32.c b/ir/be/ppc32/bearch_ppc32.c index 0466ba41a..c55711da5 100644 --- a/ir/be/ppc32/bearch_ppc32.c +++ b/ir/be/ppc32/bearch_ppc32.c @@ -611,7 +611,6 @@ static void *ppc32_cg_init(be_irg_t *birg) { cg->impl = &ppc32_code_gen_if; cg->irg = birg->irg; cg->reg_set = new_set(ppc32_cmp_irn_reg_assoc, 1024); - cg->arch_env = birg->main_env->arch_env; cg->isa = isa; cg->birg = birg; cg->area_size = 0; diff --git a/ir/be/ppc32/bearch_ppc32_t.h b/ir/be/ppc32/bearch_ppc32_t.h index 9c40a17a3..0b078c1fb 100644 --- a/ir/be/ppc32/bearch_ppc32_t.h +++ b/ir/be/ppc32/bearch_ppc32_t.h @@ -39,7 +39,6 @@ typedef struct _ppc32_isa_t ppc32_isa_t; typedef struct _ppc32_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) */ ppc32_isa_t *isa; /**< the isa instance */ be_irg_t *birg; /**< The be-irg (contains additional information about the irg) */ -- 2.20.1