renamed all type * to ir_type *
[libfirm] / ir / ir / iropt_dbg.h
index 44e47e8..c567ea6 100644 (file)
  * @param oldn  the block that it is eliminated
  * @param n     the new node for this block, may be equal to oldn
  */
-#define DBG_OPT_DEAD_BLOCK(oldn, n)                              \
-  do {                                                           \
-    ir_node *ons[2];                                             \
-    ons[0] = oldn;                                               \
-    ons[1] = get_Block_cfgpred(oldn, 0);                         \
-    hook_merge_nodes(&n, 1, ons, SIZ(ons), HOOK_OPT_DEAD_BLOCK); \
-    __dbg_info_merge_sets(&n, 1, ons, SIZ(ons), dbg_dead_code);  \
+#define DBG_OPT_DEAD_BLOCK(oldn, n)                         \
+  do {                                                      \
+    hook_merge_nodes(&n, 1, &oldn, 1, HOOK_OPT_DEAD_BLOCK); \
+    __dbg_info_merge_pair(n, oldn, dbg_dead_code);          \
        } while(0)
 
 
  * Merge the debug info after a tuple optimization.
  * a Proj(Tuple) is replaced by the associated tuple value.
  *
- * @param oldn   the Proj node
+ * @param proj   the Proj node
  * @param tuple  the Tuple node
  * @param n      the Proj(Tuple) value
  */