From 4b76022c2d15da980982500340da6887007bd9b7 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Mon, 7 Feb 2005 12:05:11 +0000 Subject: [PATCH] node_cmp_attr_Free() updated to use the new free attribute [r5033] --- ir/ir/iropt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ir/ir/iropt.c b/ir/ir/iropt.c index 4b758f915..31e2b2112 100644 --- a/ir/ir/iropt.c +++ b/ir/ir/iropt.c @@ -1844,7 +1844,8 @@ static int node_cmp_attr_Alloc(ir_node *a, ir_node *b) /** Compares the attributes of two Free nodes. */ static int node_cmp_attr_Free(ir_node *a, ir_node *b) { - return (get_irn_free_attr(a) != get_irn_free_attr(b)); + return (get_irn_free_attr(a).where != get_irn_free_attr(b).where) + || (get_irn_free_attr(a).type != get_irn_free_attr(b).type); } /** Compares the attributes of two SymConst nodes. */ -- 2.20.1