diff options
author | Kostis Sagonas <[email protected]> | 2014-02-26 00:06:11 +0100 |
---|---|---|
committer | Kostis Sagonas <[email protected]> | 2014-02-26 00:06:11 +0100 |
commit | c82da93ca6408eff459c379234ca7f0789160c27 (patch) | |
tree | 591dd3d667582af840c5dec28695564ccfede5a8 /lib/hipe/icode/hipe_icode_fp.erl | |
parent | 98776a40609d1fa80292d2959708a8697f8cb756 (diff) | |
download | otp-c82da93ca6408eff459c379234ca7f0789160c27.tar.gz otp-c82da93ca6408eff459c379234ca7f0789160c27.tar.bz2 otp-c82da93ca6408eff459c379234ca7f0789160c27.zip |
Substitude uses of lists:reverse(L1) ++ L2 with lists:reverse(L1, L2)
Diffstat (limited to 'lib/hipe/icode/hipe_icode_fp.erl')
-rw-r--r-- | lib/hipe/icode/hipe_icode_fp.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hipe/icode/hipe_icode_fp.erl b/lib/hipe/icode/hipe_icode_fp.erl index c0cd9bd2d1..38b3881a77 100644 --- a/lib/hipe/icode/hipe_icode_fp.erl +++ b/lib/hipe/icode/hipe_icode_fp.erl @@ -424,7 +424,7 @@ redirect_phis([I|Is] = Code, OldFrom, NewFrom, Acc) -> NewI = hipe_icode:phi_redirect_pred(I, OldFrom, NewFrom), redirect_phis(Is, OldFrom, NewFrom, [NewI|Acc]); _ -> - lists:reverse(Acc) ++ Code + lists:reverse(Acc, Code) end; redirect_phis([], _OldFrom, _NewFrom, Acc) -> lists:reverse(Acc). |