aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/src
diff options
context:
space:
mode:
authorStavros Aronis <[email protected]>2012-03-21 17:58:09 +0100
committerHenrik Nord <[email protected]>2012-05-21 15:31:22 +0200
commit24c2c72cab2c282eb17c8ac97c832106ecaf4ed8 (patch)
tree50fc1114b23c34b5bbed194c67a6f9c6d0d97114 /lib/dialyzer/src
parentd24d65f1a76871d3e9c8f5c19f0b4ace6de393aa (diff)
downloadotp-24c2c72cab2c282eb17c8ac97c832106ecaf4ed8.tar.gz
otp-24c2c72cab2c282eb17c8ac97c832106ecaf4ed8.tar.bz2
otp-24c2c72cab2c282eb17c8ac97c832106ecaf4ed8.zip
Better names for callgaph ETS tables
Diffstat (limited to 'lib/dialyzer/src')
-rw-r--r--lib/dialyzer/src/dialyzer_callgraph.erl9
1 files changed, 5 insertions, 4 deletions
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),