BugFix for ALGSIM2
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 23 Sep 2004 11:00:56 +0000 (11:00 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 23 Sep 2004 11:00:56 +0000 (11:00 +0000)
[r3922]

ir/ir/iropt_dbg.h

index 5cbdb7e..0782879 100644 (file)
        } 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); \