From 6dc7084e6820b27a75a82d03341cff0f05ba67ba Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Wed, 16 Feb 2011 20:56:43 +0000 Subject: [PATCH] Revert r28379. All leaders of a partition must have the same opcode, which is the pair of in Firm. [r28384] --- ir/opt/combo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ir/opt/combo.c b/ir/opt/combo.c index 5d7663790..47c216a8a 100644 --- 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)) { -- 2.20.1