summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bespilldaemel.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-12-19 13:31:18 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-12-19 17:58:38 +0100
commitac14a2bcdba00bd96c0fe5922d5b8f105ffdcb2b (patch)
tree2b21695211c6a274da713a79738e496651cda093 /ir/be/bespilldaemel.c
parent9181bbbb24cd351c0e21c538bcf0341674e0c3fc (diff)
bespill: Remove redundant tests for ignore-only register classes.
Such register classes are flagged manual_ra already.
Diffstat (limited to 'ir/be/bespilldaemel.c')
-rw-r--r--ir/be/bespilldaemel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ir/be/bespilldaemel.c b/ir/be/bespilldaemel.c
index 69be6a1..08a395f 100644
--- a/ir/be/bespilldaemel.c
+++ b/ir/be/bespilldaemel.c
@@ -321,8 +321,6 @@ 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 = be_get_n_allocatable_regs(irg, new_cls);
- if (n_regs == 0)
- return;
be_assure_live_sets(irg);