summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bechordal_common.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/bechordal_common.c
parent5dd864dc8ffa757c3f44b2e49fd6c6f09ad25a03 (diff)
introduce be_lv_foreach_cls and use it
Diffstat (limited to 'ir/be/bechordal_common.c')
-rw-r--r--ir/be/bechordal_common.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/ir/be/bechordal_common.c b/ir/be/bechordal_common.c
index 64f668f..0ccb396 100644
--- a/ir/be/bechordal_common.c
+++ b/ir/be/bechordal_common.c
@@ -128,12 +128,10 @@ void create_borders(ir_node *block, void *env_ptr)
* Make final uses of all values live out of the block.
* They are necessary to build up real intervals.
*/
- be_lv_foreach(lv, block, be_lv_state_end, irn) {
- if (arch_irn_consider_in_reg_alloc(env->cls, irn)) {
- DBG((dbg, LEVEL_3, "\tMaking live: %+F/%d\n", irn, get_irn_idx(irn)));
- bitset_set(live, get_irn_idx(irn));
- border_use(irn, step, 0);
- }
+ be_lv_foreach_cls(lv, block, be_lv_state_end, env->cls, irn) {
+ DB((dbg, LEVEL_3, "\tMaking live: %+F/%d\n", irn, get_irn_idx(irn)));
+ bitset_set(live, get_irn_idx(irn));
+ border_use(irn, step, 0);
}
++step;