projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
emit arm symconsts as .LC%u instead of .L%u to avoid clashed with block numbers
[libfirm]
/
ir
/
be
/
bessaconstr.c
diff --git
a/ir/be/bessaconstr.c
b/ir/be/bessaconstr.c
index
e12f273
..
605cf58
100644
(file)
--- a/
ir/be/bessaconstr.c
+++ b/
ir/be/bessaconstr.c
@@
-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 *b
irg)
+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);
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]));
stat_ev_dbl("bessaconstr_n_blocks", n_blocks);
memset(env, 0, sizeof(env[0]));
- be_assure_dom_front(
b
irg);
+ be_assure_dom_front(irg);
env->irg = irg;
env->irg = irg;
- env->domfronts = be_get_
birg_dom_front(b
irg);
+ env->domfronts = be_get_
irg_dom_front(
irg);
env->new_phis = NEW_ARR_F(ir_node*, 0);
env->worklist = new_waitq();
env->new_phis = NEW_ARR_F(ir_node*, 0);
env->worklist = new_waitq();
@@
-420,9
+419,8
@@
void be_ssa_construction_update_liveness_phis(be_ssa_construction_env_t *env,
be_timer_pop(T_SSA_CONSTR);
}
be_timer_pop(T_SSA_CONSTR);
}
+BE_REGISTER_MODULE_CONSTRUCTOR(be_init_ssaconstr);
void be_init_ssaconstr(void)
{
FIRM_DBG_REGISTER(dbg, "firm.be.ssaconstr");
}
void be_init_ssaconstr(void)
{
FIRM_DBG_REGISTER(dbg, "firm.be.ssaconstr");
}
-
-BE_REGISTER_MODULE_CONSTRUCTOR(be_init_ssaconstr);