Commit 6dc7084e authored by Michael Beck's avatar Michael Beck
Browse files

Revert r28379.

All leaders of a partition must have the same opcode, which is the pair
of <irn_opcode, ir_mode> in Firm.

[r28384]
parent 8a544123
......@@ -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)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment