From: Michael Beck Date: Thu, 23 Sep 2004 11:00:56 +0000 (+0000) Subject: BugFix for ALGSIM2 X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=e9042140d80aa3772159987d242cea66d43be4c3;p=libfirm BugFix for ALGSIM2 [r3922] --- 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); \