projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix warning, always use -m32 on mac assembler
[libfirm]
/
ir
/
be
/
bessaconstr.c
diff --git
a/ir/be/bessaconstr.c
b/ir/be/bessaconstr.c
index
fd964c2
..
9b60c37
100644
(file)
--- 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);
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);
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(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)) {
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);
}
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);
}
}
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");
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;
{
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) {
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_liveness_introduce(lv, phi);
}
-
BE_TIMER_POP(t_ssa_constr
);
+
be_timer_pop(T_SSA_CONSTR
);
}
void be_init_ssaconstr(void)
}
void be_init_ssaconstr(void)