Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
5481520a
Commit
5481520a
authored
Apr 18, 2016
by
Christoph Mallon
Browse files
dbg: Remove the unused macro 'DBG_OPT_POLY()' and its then unused enum entry 'dbg_rem_poly_call'.
parent
de1a81b0
Changes
3
Hide whitespace changes
Inline
Side-by-side
include/libfirm/dbginfo.h
View file @
5481520a
...
...
@@ -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. */
...
...
ir/ir/dbginfo.c
View file @
5481520a
...
...
@@ -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
);
...
...
ir/opt/iropt_dbg.h
View file @
5481520a
...
...
@@ -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.
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment