From a78cee55fadb5f0df1f560335c4ae23ef10bd755 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sat, 11 Oct 2008 20:27:26 +0000 Subject: [PATCH] Remove the unused attribute const arch_env_t *arch_env from struct be_insn_env_t. [r22745] --- ir/be/bechordal.c | 1 - ir/be/beinsn.c | 1 - ir/be/beinsn_t.h | 1 - 3 files changed, 3 deletions(-) diff --git a/ir/be/bechordal.c b/ir/be/bechordal.c index 82bee0f61..8cccf14a3 100644 --- a/ir/be/bechordal.c +++ b/ir/be/bechordal.c @@ -221,7 +221,6 @@ static be_insn_t *chordal_scan_insn(be_chordal_env_t *env, ir_node *irn) be_insn_env_t ie; ie.ignore_colors = env->ignore_colors; - ie.aenv = env->birg->main_env->arch_env; ie.obst = env->obst; ie.cls = env->cls; return be_scan_insn(&ie, irn); diff --git a/ir/be/beinsn.c b/ir/be/beinsn.c index 1756564fd..c8492c1f4 100644 --- a/ir/be/beinsn.c +++ b/ir/be/beinsn.c @@ -195,7 +195,6 @@ be_insn_env_t *be_insn_env_init(be_insn_env_t *ie, const be_irg_t *birg, const arch_register_class_t *cls, struct obstack *obst) { - ie->aenv = be_get_birg_arch_env(birg); ie->cls = cls; ie->obst = obst; ie->ignore_colors = bitset_obstack_alloc(obst, cls->n_regs); diff --git a/ir/be/beinsn_t.h b/ir/be/beinsn_t.h index 659393424..889787304 100644 --- a/ir/be/beinsn_t.h +++ b/ir/be/beinsn_t.h @@ -62,7 +62,6 @@ struct _be_insn_t { struct _be_insn_env_t { struct obstack *obst; - const arch_env_t *aenv; const arch_register_class_t *cls; bitset_t *ignore_colors; }; -- 2.20.1