summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bestat.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2008-11-22 17:46:38 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2008-11-22 17:46:38 +0100
commit9e7fd69353fcddaeae061d71d6c78dba1270d7cf (patch)
treeecee478e500e172d315afb4cf49b0ceac027c6b7 /ir/be/bestat.c
parent276c1a4dcbb1c308d0bf807d9edca6d90e5e7d5c (diff)
Make it work, when FIRM_STATISTICS is disabled.
[r23911]
Diffstat (limited to 'ir/be/bestat.c')
-rw-r--r--ir/be/bestat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ir/be/bestat.c b/ir/be/bestat.c
index af25bb4..155ed40 100644
--- a/ir/be/bestat.c
+++ b/ir/be/bestat.c
@@ -87,7 +87,9 @@ static void check_reg_pressure_class(pressure_walker_env_t *env,
if(max_live > env->max_pressure)
env->max_pressure = max_live;
+#ifdef FIRM_STATISTICS
stat_be_block_regpressure(irg, block, max_live, cls->name);
+#endif
ir_nodeset_destroy(&live_nodes);
}