aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/icode/hipe_icode_mulret.erl
diff options
context:
space:
mode:
authorStavros Aronis <[email protected]>2011-11-25 01:11:06 +0100
committerHenrik Nord <[email protected]>2011-11-30 14:18:32 +0100
commit94ab93b5d1e3b952fd55a8f3bf03146ee43de8ab (patch)
treee6bdc4b1a842ec8dae9ba3265c2ed55d8cc9dc32 /lib/hipe/icode/hipe_icode_mulret.erl
parentac61d229a27b0b07f08e25c4d18d214df89919e0 (diff)
downloadotp-94ab93b5d1e3b952fd55a8f3bf03146ee43de8ab.tar.gz
otp-94ab93b5d1e3b952fd55a8f3bf03146ee43de8ab.tar.bz2
otp-94ab93b5d1e3b952fd55a8f3bf03146ee43de8ab.zip
Fix Dialyzer's warnings in HiPE
Diffstat (limited to 'lib/hipe/icode/hipe_icode_mulret.erl')
-rw-r--r--lib/hipe/icode/hipe_icode_mulret.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hipe/icode/hipe_icode_mulret.erl b/lib/hipe/icode/hipe_icode_mulret.erl
index a6529c8519..0579867e2f 100644
--- a/lib/hipe/icode/hipe_icode_mulret.erl
+++ b/lib/hipe/icode/hipe_icode_mulret.erl
@@ -595,9 +595,9 @@ optimizeDefine([I|Code], Dsts, DstLst, Res) ->
[Ds] = Dsts,
case isCallPrimop(I, mktuple) andalso DstLst =:= [] of
true ->
- case (hipe_icode:call_dstlist(I) =:= Dsts) of
+ case hipe_icode:call_dstlist(I) =:= Dsts of
true ->
- case (hipe_icode:call_args(I) > 1) of
+ case length(hipe_icode:call_args(I)) > 1 of
true ->
optimizeDefine(Code, Dsts, hipe_icode:call_args(I), Res);
false ->