bessaconstr: Remove the unused function be_ssa_construction_set_ignore_uses().
authorChristoph Mallon <christoph.mallon@gmx.de>
Wed, 28 Nov 2012 20:02:56 +0000 (21:02 +0100)
committerChristoph Mallon <christoph.mallon@gmx.de>
Wed, 28 Nov 2012 22:42:47 +0000 (23:42 +0100)
ir/be/bessaconstr.c
ir/be/bessaconstr.h

index bf95497..1a6acc0 100644 (file)
@@ -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;
 
index 0186d46..951edc8 100644 (file)
@@ -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
  */