__dbg_info_merge_pair(load, rload, dbg_backend); \
} while(0)
+/**
+ * A Sub was transformed into Neg-Add due to 2 address code limitations
+ *
+ * @param sub the old Sub
+ * @param nadd the new Add
+ */
+#define DBG_OPT_SUB2NEGADD(sub, nadd) \
+ do { \
+ hook_merge_nodes(&nadd, 1, &sub, 1, FS_BE_IA32_SUB2NEGADD); \
+ __dbg_info_merge_pair(nadd, sub, dbg_backend); \
+ } while(0)
+
+/**
+ * A Lea was transformed back into an Add
+ *
+ * @param lea the old Lea
+ * @param nadd the new Add
+ */
+#define DBG_OPT_LEA2ADD(lea, nadd) \
+ do { \
+ hook_merge_nodes(&nadd, 1, &lea, 1, FS_BE_IA32_LEA2ADD); \
+ __dbg_info_merge_pair(nadd, lea, dbg_backend); \
+ } while(0)
+
#endif /* _IA32_DBG_STAT_H_ */