From 3cee490008f49f2c1051e97f61502b19ac8b0329 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Mon, 19 May 2008 00:07:42 +0000 Subject: [PATCH] - BugFix: sometimes a wrong statistic flag was transmitted [r19659] --- include/libfirm/iropt_dbg.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/libfirm/iropt_dbg.h b/include/libfirm/iropt_dbg.h index 5c3548d39..93f84a1b0 100644 --- a/include/libfirm/iropt_dbg.h +++ b/include/libfirm/iropt_dbg.h @@ -154,19 +154,19 @@ ons[0] = oldn; \ ons[1] = pred; \ ons[2] = n; \ - hook_merge_nodes(&n, 1, ons, SIZ(ons), HOOK_OPT_ALGSIM); \ + hook_merge_nodes(&n, 1, ons, SIZ(ons), flag); \ __dbg_info_merge_sets(&n, 1, ons, SIZ(ons), dbg_algebraic_simplification); \ } while(0) /** * Merge the debug info due to an algebraic_simplification. */ -#define DBG_OPT_ALGSIM3(oldn, a, n) \ +#define DBG_OPT_ALGSIM3(oldn, a, n, flag) \ do { \ ir_node *ons[2]; \ ons[0] = oldn; \ ons[1] = a; \ - hook_merge_nodes(&n, 1, ons, SIZ(ons), HOOK_OPT_ALGSIM); \ + hook_merge_nodes(&n, 1, ons, SIZ(ons), flag); \ __dbg_info_merge_sets(&n, 1, ons, SIZ(ons), dbg_algebraic_simplification); \ } while(0) -- 2.20.1