summaryrefslogtreecommitdiffhomepage
path: root/ir/be/besched.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-11-27 17:23:47 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-11-27 17:23:47 +0100
commitca26a6bf21156ce99faccae1f8522e463a190cc9 (patch)
treef3d2d0447c1bf42344c8fcda18f9e0e92b79f30b /ir/be/besched.h
parent7f697a04ed97496a78897468d857acbaffe90ff3 (diff)
besched: Remove redundant assert()s.
sched_get_time_step() checks the same.
Diffstat (limited to 'ir/be/besched.h')
-rw-r--r--ir/be/besched.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ir/be/besched.h b/ir/be/besched.h
index ffb0619..b598ce5 100644
--- a/ir/be/besched.h
+++ b/ir/be/besched.h
@@ -161,8 +161,6 @@ void sched_remove(ir_node *irn);
*/
static inline bool sched_comes_after(const ir_node *n1, const ir_node *n2)
{
- assert(sched_is_scheduled(n1));
- assert(sched_is_scheduled(n2));
assert((is_Block(n1) ? n1 : get_nodes_block(n1)) == (is_Block(n2) ? n2 : get_nodes_block(n2)));
return sched_get_time_step(n1) < sched_get_time_step(n2);
}