summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndreas Fried <andreas.fried@kit.edu>2019-12-13 16:51:25 +0100
committerAndreas Fried <andreas.fried@kit.edu>2019-12-13 16:51:39 +0100
commit9757627baa45a3a56ff0e4538bb3d4a0fa0f12a4 (patch)
tree91cf65413ae8dd64bf2ec5b78086222365131523
parent915fb9a661ea8e291e678961f9f1e857433c03cf (diff)
execfreq: Only free DFS when we abort due to too large function.
By this point, the IR resources have not been allocated yet.
-rw-r--r--ir/ana/execfreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/ana/execfreq.c b/ir/ana/execfreq.c
index ff030fd..7b1bf11 100644
--- a/ir/ana/execfreq.c
+++ b/ir/ana/execfreq.c
@@ -458,7 +458,7 @@ void ir_estimate_execfreq(ir_graph *irg)
if (!fallback_loop_weight(dfs, loop_weight)) {
fallback_all_ones(dfs);
}
- free_properties_and_dfs(irg, dfs);
+ dfs_free(dfs);
return;
}