projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5df24f1
)
Correct assertion.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 21 Aug 2008 14:24:33 +0000
(14:24 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 21 Aug 2008 14:24:33 +0000
(14:24 +0000)
[r21322]
ir/be/besched_t.h
patch
|
blob
|
history
diff --git
a/ir/be/besched_t.h
b/ir/be/besched_t.h
index
aeff538
..
8f6ddfc
100644
(file)
--- a/
ir/be/besched_t.h
+++ b/
ir/be/besched_t.h
@@
-301,7
+301,7
@@
static INLINE int _sched_comes_after(const ir_node *n1, const ir_node *n2)
{
assert(_sched_is_scheduled(n1));
assert(_sched_is_scheduled(n2));
{
assert(_sched_is_scheduled(n1));
assert(_sched_is_scheduled(n2));
- assert(
get_nodes_block(n1) == get_nodes_block(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);
}
return _sched_get_time_step(n1) < _sched_get_time_step(n2);
}