aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/src/dialyzer_analysis_callgraph.erl
diff options
context:
space:
mode:
authorStavros Aronis <[email protected]>2012-02-10 14:42:30 +0100
committerHenrik Nord <[email protected]>2012-05-21 15:31:17 +0200
commite6fa01359a41d3b054260d01d2880820c867ca2b (patch)
treece64107689f9661e856bdbda85629933b47d74a6 /lib/dialyzer/src/dialyzer_analysis_callgraph.erl
parent571f4fb9838857364d85d21e7c38881ac0b8c695 (diff)
downloadotp-e6fa01359a41d3b054260d01d2880820c867ca2b.tar.gz
otp-e6fa01359a41d3b054260d01d2880820c867ca2b.tar.bz2
otp-e6fa01359a41d3b054260d01d2880820c867ca2b.zip
Parallel typesig analysis
Diffstat (limited to 'lib/dialyzer/src/dialyzer_analysis_callgraph.erl')
-rw-r--r--lib/dialyzer/src/dialyzer_analysis_callgraph.erl7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/dialyzer/src/dialyzer_analysis_callgraph.erl b/lib/dialyzer/src/dialyzer_analysis_callgraph.erl
index 7221d81a72..7060028d17 100644
--- a/lib/dialyzer/src/dialyzer_analysis_callgraph.erl
+++ b/lib/dialyzer/src/dialyzer_analysis_callgraph.erl
@@ -179,22 +179,21 @@ analyze_callgraph(Callgraph, State) ->
Parent = State#analysis_state.parent,
DocPlt = State#analysis_state.doc_plt,
Plt = dialyzer_plt:insert_callbacks(State#analysis_state.plt, Codeserver),
- Callgraph1 = dialyzer_callgraph:finalize(Callgraph),
{NewPlt, NewDocPlt} =
case State#analysis_state.analysis_type of
plt_build ->
- {dialyzer_succ_typings:analyze_callgraph(Callgraph1, Plt,
+ {dialyzer_succ_typings:analyze_callgraph(Callgraph, Plt,
Codeserver, Parent),
DocPlt};
succ_typings ->
NoWarn = State#analysis_state.no_warn_unused,
{Warnings, NewPlt0, NewDocPlt0} =
- dialyzer_succ_typings:get_warnings(Callgraph1, Plt, DocPlt,
+ dialyzer_succ_typings:get_warnings(Callgraph, Plt, DocPlt,
Codeserver, NoWarn, Parent),
send_warnings(State#analysis_state.parent, Warnings),
{NewPlt0, NewDocPlt0}
end,
- dialyzer_callgraph:delete(Callgraph1),
+ dialyzer_callgraph:delete(Callgraph),
State#analysis_state{plt = NewPlt, doc_plt = NewDocPlt}.
%%--------------------------------------------------------------------