aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-01-29 15:06:12 +0100
committerBjörn Gustavsson <[email protected]>2015-02-11 09:57:47 +0100
commita8a5b669f43cbbadd8d6b38926e24bb383385d32 (patch)
tree4e9e03caacd90e2aee264f2509e95c97738c004c /lib
parentd85d00be70ace6cbdffcf54300b6573dd0f9f771 (diff)
downloadotp-a8a5b669f43cbbadd8d6b38926e24bb383385d32.tar.gz
otp-a8a5b669f43cbbadd8d6b38926e24bb383385d32.tar.bz2
otp-a8a5b669f43cbbadd8d6b38926e24bb383385d32.zip
v3_core: Remove unused function argument for bc_tq()
Diffstat (limited to 'lib')
-rw-r--r--lib/compiler/src/v3_core.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compiler/src/v3_core.erl b/lib/compiler/src/v3_core.erl
index dc145be78f..75984ac09e 100644
--- a/lib/compiler/src/v3_core.erl
+++ b/lib/compiler/src/v3_core.erl
@@ -534,7 +534,7 @@ expr({lc,L,E,Qs0}, St0) ->
{Qs1,St1} = preprocess_quals(L, Qs0, St0),
lc_tq(L, E, Qs1, #c_literal{anno=lineno_anno(L, St1),val=[]}, St1);
expr({bc,L,E,Qs}, St) ->
- bc_tq(L, E, Qs, {nil,L}, St);
+ bc_tq(L, E, Qs, St);
expr({tuple,L,Es0}, St0) ->
{Es1,Eps,St1} = safe_list(Es0, St0),
A = record_anno(L, St1),
@@ -1033,7 +1033,7 @@ lc_tq(Line, E0, [], Mc0, St0) ->
%% This TQ from Gustafsson ERLANG'05.
%% More could be transformed before calling bc_tq.
-bc_tq(Line, Exp, Qs0, _, St0) ->
+bc_tq(Line, Exp, Qs0, St0) ->
{BinVar,St1} = new_var(St0),
{Sz,SzPre,St2} = bc_initial_size(Exp, Qs0, St1),
{Qs,St3} = preprocess_quals(Line, Qs0, St2),