summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beprefalloc.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2014-11-12 05:22:47 +0100
committerChristoph Mallon <mallon@cs.uni-saarland.de>2014-11-13 17:32:00 +0100
commit86163b5664564f88675d24f11236649b88f89be6 (patch)
treef3424952e443060c356fe3a3217e64196325c869 /ir/be/beprefalloc.c
parent4cd9a0a92cd161a93ce51127ff680ef83fb69a67 (diff)
be: Remove the thin wrapper macro arch_register_class_n_regs().
Diffstat (limited to 'ir/be/beprefalloc.c')
-rw-r--r--ir/be/beprefalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/beprefalloc.c b/ir/be/beprefalloc.c
index 836b943..d3c91b4 100644
--- a/ir/be/beprefalloc.c
+++ b/ir/be/beprefalloc.c
@@ -1828,7 +1828,7 @@ static void be_pref_alloc(ir_graph *new_irg)
stat_ev_ctx_push_str("regcls", cls->name);
- n_regs = arch_register_class_n_regs(cls);
+ n_regs = cls->n_regs;
normal_regs = rbitset_malloc(n_regs);
be_get_allocatable_regs(irg, cls, normal_regs);