projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df0e72f
)
bessaconstr: Move code, which is only needed for statistics, into the optionally...
author
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 5 Dec 2012 10:20:25 +0000
(11:20 +0100)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 5 Dec 2012 14:06:18 +0000
(15:06 +0100)
ir/be/bessaconstr.c
patch
|
blob
|
history
diff --git
a/ir/be/bessaconstr.c
b/ir/be/bessaconstr.c
index
2e30a14
..
8f46e94
100644
(file)
--- a/
ir/be/bessaconstr.c
+++ b/
ir/be/bessaconstr.c
@@
-391,14
+391,10
@@
static void search_def_at_block(be_ssa_construction_env_t *const env, ir_node *c
void be_ssa_construction_init(be_ssa_construction_env_t *env, ir_graph *irg)
{
- ir_node *sb = get_irg_start_block(irg);
- int n_blocks = get_Block_dom_max_subtree_pre_num(sb);
-
stat_ev_ctx_push_fmt("bessaconstr", "%+F", irg);
stat_ev_tim_push();
- (void) n_blocks;
- stat_ev_dbl("bessaconstr_n_blocks", n_blocks);
+ stat_ev_dbl("bessaconstr_n_blocks", get_Block_dom_max_subtree_pre_num(get_irg_start_block(irg)));
memset(env, 0, sizeof(env[0]));