projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a54412
)
Revert r28379.
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Wed, 16 Feb 2011 20:56:43 +0000
(20:56 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Wed, 16 Feb 2011 20:56:43 +0000
(20:56 +0000)
All leaders of a partition must have the same opcode, which is the pair
of <irn_opcode, ir_mode> in Firm.
[r28384]
ir/opt/combo.c
patch
|
blob
|
history
diff --git
a/ir/opt/combo.c
b/ir/opt/combo.c
index
5d76637
..
47c216a
100644
(file)
--- a/
ir/opt/combo.c
+++ b/
ir/opt/combo.c
@@
-307,6
+307,7
@@
static void check_opcode(const partition_t *Z)
first = 0;
} else {
assert((unsigned)key.code == get_irn_opcode(irn));
+ assert(key.mode == get_irn_mode(irn));
assert(key.arity == get_irn_arity(irn));
switch (get_irn_opcode(irn)) {