summaryrefslogtreecommitdiffhomepage
path: root/ir/be/belive.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2012-11-27 17:31:38 +0100
committerMatthias Braun <matze@braunis.de>2012-11-28 11:27:13 +0100
commitb731214f8067006ee8c5ed026cd85f6d04592345 (patch)
treee6e43341cd1a79e37130ad4119d92a750c2970a1 /ir/be/belive.c
parent5dd864dc8ffa757c3f44b2e49fd6c6f09ad25a03 (diff)
introduce be_lv_foreach_cls and use it
Diffstat (limited to 'ir/be/belive.c')
-rw-r--r--ir/be/belive.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ir/be/belive.c b/ir/be/belive.c
index ddabe0e..e6db6e6 100644
--- a/ir/be/belive.c
+++ b/ir/be/belive.c
@@ -506,10 +506,7 @@ void be_liveness_end_of_block(const be_lv_t *lv,
const ir_node *block, ir_nodeset_t *live)
{
assert(lv->sets_valid && "live sets must be computed");
- be_lv_foreach(lv, block, be_lv_state_end, node) {
- if (!arch_irn_consider_in_reg_alloc(cls, node))
- continue;
-
+ be_lv_foreach_cls(lv, block, be_lv_state_end, cls, node) {
ir_nodeset_insert(live, node);
}
}