diff options
author | Henrik Nord <[email protected]> | 2011-11-30 16:04:11 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2011-11-30 16:04:15 +0100 |
commit | 0290bed50ccbba067619c5829b0a090a8a60a2ff (patch) | |
tree | 301de75ee89b085c962025a143b45719af9c68fd /lib/hipe/icode/hipe_icode_mulret.erl | |
parent | 08ea3af8528ad0920021ecc230a66eb5ee59bc86 (diff) | |
parent | 804f81747df38cbcb997a6e7aebe8d3868a31e3e (diff) | |
download | otp-0290bed50ccbba067619c5829b0a090a8a60a2ff.tar.gz otp-0290bed50ccbba067619c5829b0a090a8a60a2ff.tar.bz2 otp-0290bed50ccbba067619c5829b0a090a8a60a2ff.zip |
Merge branch 'sa/dialyzer-fixes-r15'
* sa/dialyzer-fixes-r15:
Update inets test results
Add file/line info in a particular Dialyzer crash
Fix Dialyzer's warnings in HiPE
Fix Dialyzer's warning for its own code
Fix crash in Typer
No warnings for underspecs with remote types
OTP-9758
Diffstat (limited to 'lib/hipe/icode/hipe_icode_mulret.erl')
-rw-r--r-- | lib/hipe/icode/hipe_icode_mulret.erl | 4 |
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 -> |