Commit 27b55089 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

bessaconstr: Remove the unused function be_ssa_construction_set_ignore_uses().

parent 6545eb91
......@@ -516,12 +516,6 @@ void be_ssa_construction_add_copies(be_ssa_construction_env_t *env,
}
}
void be_ssa_construction_set_ignore_uses(be_ssa_construction_env_t *env,
const ir_nodeset_t *ignore_uses)
{
env->ignore_uses = ignore_uses;
}
ir_node **be_ssa_construction_get_new_phis(be_ssa_construction_env_t *env)
{
return env->new_phis;
......@@ -581,12 +575,7 @@ void be_ssa_construction_fix_users_array(be_ssa_construction_env_t *env,
introduce_definition(env, value);
foreach_out_edge_safe(value, edge) {
ir_node *use = get_edge_src_irn(edge);
if (env->ignore_uses != NULL &&
ir_nodeset_contains(env->ignore_uses, use))
continue;
ir_node *const use = get_edge_src_irn(edge);
if (is_Anchor(use) || is_End(use))
continue;
......
......@@ -62,7 +62,6 @@ typedef struct be_ssa_construction_env_t {
ir_mode *mode;
const arch_register_req_t *phi_req;
waitq *worklist;
const ir_nodeset_t *ignore_uses;
ir_node **new_phis;
bool iterated_domfront_calculated;
ir_nodemap infos;
......@@ -83,9 +82,6 @@ void be_ssa_construction_add_copy(be_ssa_construction_env_t *env,
void be_ssa_construction_add_copies(be_ssa_construction_env_t *env,
ir_node **copies, size_t copies_len);
void be_ssa_construction_set_ignore_uses(be_ssa_construction_env_t *env,
const ir_nodeset_t *ignore_uses);
/**
* Reconstructs the SSA form for all users of node @p node
*/
......
Supports Markdown
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