aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStavros Aronis <[email protected]>2012-03-05 13:00:36 +0100
committerHenrik Nord <[email protected]>2012-05-21 15:31:22 +0200
commit19f4b4090fd38085d60596b4685c9323501d473e (patch)
tree35f8a1828b0696cd09162528d24e20506b43e9e3
parent4920bb64ad39fde53b02e73c22e7e771b016283f (diff)
downloadotp-19f4b4090fd38085d60596b4685c9323501d473e.tar.gz
otp-19f4b4090fd38085d60596b4685c9323501d473e.tar.bz2
otp-19f4b4090fd38085d60596b4685c9323501d473e.zip
Inline a function in dialyzer_worker
-rw-r--r--lib/dialyzer/src/dialyzer_worker.erl5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/dialyzer/src/dialyzer_worker.erl b/lib/dialyzer/src/dialyzer_worker.erl
index b58e662f06..453bb76dfc 100644
--- a/lib/dialyzer/src/dialyzer_worker.erl
+++ b/lib/dialyzer/src/dialyzer_worker.erl
@@ -89,7 +89,7 @@ loop(running, #state{mode = 'compile'} = State) ->
case start_compilation(State) of
{ok, EstimatedSize, Data} ->
Label = ask_coordinator_for_label(EstimatedSize, State),
- continue_compilation(Label, Data);
+ dialyzer_analysis_callgraph:continue_compilation(Label, Data);
{error, _Reason} = Error ->
Error
end,
@@ -156,8 +156,5 @@ start_compilation(#state{job = Job, init_data = InitData}) ->
ask_coordinator_for_label(EstimatedSize, #state{coordinator = Coordinator}) ->
dialyzer_coordinator:get_next_label(EstimatedSize, Coordinator).
-continue_compilation(Label, Data) ->
- dialyzer_analysis_callgraph:continue_compilation(Label, Data).
-
collect_warnings(#state{job = Job, init_data = InitData}) ->
dialyzer_succ_typings:collect_warnings(Job, InitData).