summaryrefslogtreecommitdiffhomepage
path: root/ir/be/belive.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-12-13 21:11:21 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-12-15 00:06:58 +0100
commit2d4cb2720430d39651ddb33d9b342f69bd757a75 (patch)
tree7de62d5aea0cb755fb840956fc6d789d94e0ea8c /ir/be/belive.c
parentb38e2c8fb2d6b9f713f0948a536a28b623b0732b (diff)
besched: Change sched_foreach_reverse_from(sched_prev(x), y) to sched_foreach_reverse_before(x, y).
Diffstat (limited to 'ir/be/belive.c')
-rw-r--r--ir/be/belive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/belive.c b/ir/be/belive.c
index 4177813..a381fd5 100644
--- a/ir/be/belive.c
+++ b/ir/be/belive.c
@@ -452,7 +452,7 @@ void be_liveness_end_of_block(const be_lv_t *lv,
void be_liveness_nodes_live_before(be_lv_t const *const lv, arch_register_class_t const *const cls, ir_node const *const pos, ir_nodeset_t *const live)
{
- ir_node const *const bl = get_nodes_block(pos);
+ ir_node *const bl = get_nodes_block(pos);
be_liveness_end_of_block(lv, cls, bl, live);
sched_foreach_reverse(bl, irn) {
be_liveness_transfer(cls, irn, live);