From e9042140d80aa3772159987d242cea66d43be4c3 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Thu, 23 Sep 2004 11:00:56 +0000 Subject: [PATCH] BugFix for ALGSIM2 [r3922] --- ir/ir/iropt_dbg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ir/ir/iropt_dbg.h b/ir/ir/iropt_dbg.h index 5cbdb7ec1..07828796c 100644 --- a/ir/ir/iropt_dbg.h +++ b/ir/ir/iropt_dbg.h @@ -76,10 +76,10 @@ } while(0) #define DBG_OPT_ALGSIM2 \ - do { \ + do { \ ir_node *ons[3]; \ ons[0] = oldn; \ - ons[1] = get_unop_op(n); \ + ons[1] = get_unop_op(oldn); \ ons[2] = n; \ stat_merge_nodes(&n, 1, ons, SIZ(ons), STAT_OPT_ALGSIM); \ __dbg_info_merge_sets(&n, 1, ons, SIZ(ons), dbg_algebraic_simplification); \ -- 2.20.1