From 24c2c72cab2c282eb17c8ac97c832106ecaf4ed8 Mon Sep 17 00:00:00 2001 From: Stavros Aronis Date: Wed, 21 Mar 2012 17:58:09 +0100 Subject: Better names for callgaph ETS tables --- lib/dialyzer/src/dialyzer_callgraph.erl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/dialyzer/src') diff --git a/lib/dialyzer/src/dialyzer_callgraph.erl b/lib/dialyzer/src/dialyzer_callgraph.erl index 327092e23c..4ff9f5920b 100644 --- a/lib/dialyzer/src/dialyzer_callgraph.erl +++ b/lib/dialyzer/src/dialyzer_callgraph.erl @@ -785,9 +785,9 @@ to_ps(#callgraph{} = CG, File, Args) -> condensation(G) -> SCs = digraph_utils:strong_components(G), - V2I = ets:new(condensation, []), - I2C = ets:new(condensation, []), - I2I = ets:new(condensation, [bag]), + V2I = ets:new(condensation_v2i, []), + I2C = ets:new(condensation_i2c, []), + I2I = ets:new(condensation_i2i, [bag]), CFun = fun(SC, N) -> lists:foreach(fun(V) -> true = ets:insert(V2I, {V,N}) end, SC), @@ -813,7 +813,8 @@ condensation(G) -> end, {OutDict, InDict} = ets:foldl(Fun3, {dict:new(), dict:new()}, I2I), [OutETS, InETS] = - [ets:new(Name,[{read_concurrency, true}]) || Name <- [out, in]], + [ets:new(Name,[{read_concurrency, true}]) || + Name <- [callgraph_deps_out, callgraph_deps_in]], ets:insert(OutETS, dict:to_list(OutDict)), ets:insert(InETS, dict:to_list(InDict)), ets:delete(V2I), -- cgit v1.2.3