X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbessaconstr.c;h=9b60c37cbae18ce810a72a384f4253fafd2d1982;hb=5883ec1b985b9f77aa195c8ccee098faf15ab175;hp=fd964c20dea3e9a1244b3ef8f75b0e1c968ff02b;hpb=44dd4365d606bc60bbbf97200b89c903d788ce45;p=libfirm diff --git a/ir/be/bessaconstr.c b/ir/be/bessaconstr.c index fd964c20d..9b60c37cb 100644 --- a/ir/be/bessaconstr.c +++ b/ir/be/bessaconstr.c @@ -349,7 +349,7 @@ void be_ssa_construction_fix_users_array(be_ssa_construction_env_t *env, size_t i; stat_ev_cnt_decl(uses); - BE_TIMER_PUSH(t_ssa_constr); + be_timer_push(T_SSA_CONSTR); if(!env->iterated_domfront_calculated) { mark_iterated_dominance_frontiers(env); @@ -372,11 +372,11 @@ void be_ssa_construction_fix_users_array(be_ssa_construction_env_t *env, if(env->ignore_uses != NULL && ir_nodeset_contains(env->ignore_uses, use)) continue; - if(is_Anchor(use)) + if(is_Anchor(use) || is_End(use)) continue; if(is_Phi(use)) { - ir_node *block = get_nodes_block(use); + ir_node *block = get_nodes_block(use); ir_node *predblock = get_Block_cfgpred_block(block, pos); at = sched_last(predblock); } @@ -392,7 +392,7 @@ void be_ssa_construction_fix_users_array(be_ssa_construction_env_t *env, stat_ev_cnt_inc(uses); } } - BE_TIMER_POP(t_ssa_constr); + be_timer_pop(T_SSA_CONSTR); stat_ev_tim_pop("bessaconstr_fix_time"); stat_ev_cnt_done(uses, "bessaconstr_uses"); @@ -409,7 +409,7 @@ void be_ssa_construction_update_liveness_phis(be_ssa_construction_env_t *env, { int i, n; - BE_TIMER_PUSH(t_ssa_constr); + be_timer_push(T_SSA_CONSTR); n = ARR_LEN(env->new_phis); for(i = 0; i < n; ++i) { @@ -417,7 +417,7 @@ void be_ssa_construction_update_liveness_phis(be_ssa_construction_env_t *env, be_liveness_introduce(lv, phi); } - BE_TIMER_POP(t_ssa_constr); + be_timer_pop(T_SSA_CONSTR); } void be_init_ssaconstr(void)