summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bespilldaemel.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2010-10-08 16:02:19 +0200
committerMatthias Braun <matze@braunis.de>2010-10-08 16:02:19 +0200
commit6c3146b96bc65d9de18f3f2b59faf33b8b9935d6 (patch)
tree516262baf2b94b352b1a2629a1af05b5d6444c8c /ir/be/bespilldaemel.c
parent199fcc3a56d1ce5f18819aef4a6fb91adf490694 (diff)
backend: cleanup queries for ignore regs
[r28071]
Diffstat (limited to 'ir/be/bespilldaemel.c')
-rw-r--r--ir/be/bespilldaemel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/bespilldaemel.c b/ir/be/bespilldaemel.c
index f015f6e..85f6f46 100644
--- a/ir/be/bespilldaemel.c
+++ b/ir/be/bespilldaemel.c
@@ -365,7 +365,7 @@ static void spill_block(ir_node *block, void *data)
static void be_spill_daemel(ir_graph *irg, const arch_register_class_t *new_cls)
{
- n_regs = new_cls->n_regs - be_put_ignore_regs(irg, new_cls, NULL);
+ n_regs = be_get_n_allocatable_regs(irg, new_cls);
if (n_regs == 0)
return;