fix trailing whitespaces and tabulators in the middle of a line
[libfirm] / ir / be / bessaconstr.c
index 07d56ca..ebca457 100644 (file)
@@ -241,9 +241,8 @@ static void introduce_def_at_block(ir_node *block, ir_node *def)
        }
 }
 
-void be_ssa_construction_init(be_ssa_construction_env_t *env, be_irg_t *birg)
+void be_ssa_construction_init(be_ssa_construction_env_t *env, ir_graph *irg)
 {
-       ir_graph *irg = be_get_birg_irg(birg);
        ir_node *sb   = get_irg_start_block(irg);
        int n_blocks  = get_Block_dom_max_subtree_pre_num(sb);
 
@@ -254,10 +253,10 @@ void be_ssa_construction_init(be_ssa_construction_env_t *env, be_irg_t *birg)
        stat_ev_dbl("bessaconstr_n_blocks", n_blocks);
 
        memset(env, 0, sizeof(env[0]));
-       be_assure_dom_front(birg);
+       be_assure_dom_front(irg);
 
        env->irg       = irg;
-       env->domfronts = be_get_birg_dom_front(birg);
+       env->domfronts = be_get_irg_dom_front(irg);
        env->new_phis  = NEW_ARR_F(ir_node*, 0);
        env->worklist  = new_waitq();
 
@@ -369,7 +368,7 @@ void be_ssa_construction_fix_users_array(be_ssa_construction_env_t *env,
                        int pos      = get_edge_src_pos(edge);
                        ir_node *def;
 
-                       if (env->ignore_uses != NULL    &&
+                       if (env->ignore_uses != NULL &&
                           ir_nodeset_contains(env->ignore_uses, use))
                                continue;
                        if (is_Anchor(use) || is_End(use))