summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bepeephole.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2014-07-16 13:49:57 +0200
committerMatthias Braun <matze@braunis.de>2014-07-18 10:04:10 +0200
commit8f1ba92ac594742f9b73902256cdb3a60b29b730 (patch)
tree40ae7273a730fa77019743913be5b5fb9c7b23eb /ir/be/bepeephole.c
parent772df9793f70bae91b5bd75e3f5f4d3295000f9f (diff)
cleanup beintlive_t
- Remove value_dominates_intrablock()/value_strictly_dominates_intrablock() and use sched_comes_before() instead - Use bool instead of int return types. - Assert that we don't check if a node interferes with itself as that is nearly always a bug in the code.
Diffstat (limited to 'ir/be/bepeephole.c')
-rw-r--r--ir/be/bepeephole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/bepeephole.c b/ir/be/bepeephole.c
index 19925d6..fbe6117 100644
--- a/ir/be/bepeephole.c
+++ b/ir/be/bepeephole.c
@@ -111,7 +111,7 @@ static void be_peephole_before_exchange(const ir_node *old_node,
/* we can't handle liveness updates correctly when exchange current node
* with something behind it */
- assert(value_dominates(skip_Proj(new_node), skip_Proj_const(old_node)));
+ assert(value_strictly_dominates(skip_Proj(new_node), skip_Proj_const(old_node)));
}
if (!mode_is_data(get_irn_mode(old_node)))