summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beverify.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-01-16 13:35:53 +0100
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-01-18 11:21:07 +0100
commit634830b6d4b9e339a33a0fd65cab0d828755848a (patch)
tree413272de97d43eee01905128a85173f157387433 /ir/be/beverify.c
parent1289d1b6a61462bcdf9ac3d64ac484e0d728e474 (diff)
be: Move the info about the register classes and registers struct the arch_env_t into struct arch_isa_if_t.
Diffstat (limited to 'ir/be/beverify.c')
-rw-r--r--ir/be/beverify.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ir/be/beverify.c b/ir/be/beverify.c
index e33ee3a..05e657f 100644
--- a/ir/be/beverify.c
+++ b/ir/be/beverify.c
@@ -677,8 +677,7 @@ static void verify_block_register_allocation(ir_node *block, void *data)
{
be_verify_reg_alloc_env_t *const env = (be_verify_reg_alloc_env_t*)data;
- ir_graph *const irg = get_irn_irg(block);
- unsigned const n_regs = be_get_irg_arch_env(irg)->n_registers;
+ unsigned const n_regs = isa_if->n_registers;
ir_node const **const registers = ALLOCANZ(ir_node const*, n_regs);
be_lv_foreach(env->lv, block, be_lv_state_end, lv_node) {