Commit 5481520a authored by Christoph Mallon's avatar Christoph Mallon
Browse files

dbg: Remove the unused macro 'DBG_OPT_POLY()' and its then unused enum entry 'dbg_rem_poly_call'.

parent de1a81b0
......@@ -63,7 +63,6 @@ typedef enum {
after read optimization. */
dbg_read_a_const, /**< A Firm subgraph was replaced because of a read
a constant optimization. */
dbg_rem_poly_call, /**< Remove polymorphic call. */
dbg_dead_code, /**< Removing unreachable code, i.e. blocks that are never executed. */
dbg_opt_confirm, /**< A Firm subgraph was replace because of a Confirmation. */
dbg_gvn_pre, /**< A Firm node was replace because of the GVN-PRE algorithm. */
......
......@@ -45,7 +45,6 @@ const char *dbg_action_2_str(dbg_action a)
CASE(dbg_read_after_write);
CASE(dbg_read_after_read);
CASE(dbg_read_a_const);
CASE(dbg_rem_poly_call);
CASE(dbg_dead_code);
CASE(dbg_opt_confirm);
CASE(dbg_gvn_pre);
......
......@@ -285,22 +285,6 @@
__dbg_info_merge_sets(&n, 1, ons, ARRAY_SIZE(ons), dbg_opt_cse); \
} while(0)
/**
* Merge the debug info due to polymorphic call optimization.
* A Sel node was replaced by a constant.
*
* @param sel the Sel node that will be replaced.
* @param c the constant node that replaces sel
*/
#define DBG_OPT_POLY(sel, c) \
do { \
ir_node *ons[3]; \
ons[0] = sel; \
ons[1] = skip_Proj(get_Sel_ptr(sel)); \
ons[2] = c; \
__dbg_info_merge_sets(&c, 1, ons, ARRAY_SIZE(ons), dbg_rem_poly_call); \
} while(0)
/**
* A node was replaced by another node due to a Confirmation.
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment