summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bespilldaemel.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2009-08-24 16:16:25 +0200
committerMatthias Braun <matze@braunis.de>2009-08-24 16:16:25 +0200
commit44339473486e874842157203fdf5e93ab5c84af7 (patch)
treed48b76213f3e87c5226a6938d0a4d2867487629e /ir/be/bespilldaemel.c
parent47d3710a0ef90ab130f160aa690b9d8b4bba98f1 (diff)
fix daemel spiller accessing flags of Proj nodes
[r26405]
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 11778f1..41164eb 100644
--- a/ir/be/bespilldaemel.c
+++ b/ir/be/bespilldaemel.c
@@ -221,7 +221,7 @@ static void do_spilling(ir_nodeset_t *live_nodes, ir_node *node)
cand_node = candidate->node;
++cand_idx;
- if (arch_irn_is(cand_node, dont_spill))
+ if (arch_irn_is(skip_Proj_const(cand_node), dont_spill))
continue;
/* make sure the node is not an argument of the instruction */