aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-02-20 19:03:25 +0100
committerFredrik Gustafsson <[email protected]>2013-02-20 19:03:25 +0100
commit565b4a4065229c0c9ea08a758be3a2c228514883 (patch)
treeeae65e74cb2a01b6ab1706d3b3d8bd5a80134c84 /lib/hipe
parentec25c466c944538af915f44dc5e7d6e84f943617 (diff)
parentd3048b6e6fa36979720253dc202355de46acc805 (diff)
downloadotp-565b4a4065229c0c9ea08a758be3a2c228514883.tar.gz
otp-565b4a4065229c0c9ea08a758be3a2c228514883.tar.bz2
otp-565b4a4065229c0c9ea08a758be3a2c228514883.zip
Merge branch 'ks/hipe_bif-remove_refs_from/OTP-10851'
* ks/hipe_bif-remove_refs_from/OTP-10851: Fixed test to allow for lists:foreach/2 call Change the return value of hipe_bifs:remove_refs_from/1
Diffstat (limited to 'lib/hipe')
-rw-r--r--lib/hipe/cerl/erl_bif_types.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hipe/cerl/erl_bif_types.erl b/lib/hipe/cerl/erl_bif_types.erl
index 028676bfd3..0a2c6e822f 100644
--- a/lib/hipe/cerl/erl_bif_types.erl
+++ b/lib/hipe/cerl/erl_bif_types.erl
@@ -1071,7 +1071,7 @@ type(hipe_bifs, ref_set, 2, Xs) ->
strict(arg_types(hipe_bifs, ref_set, 2), Xs, fun (_) -> t_nil() end);
type(hipe_bifs, remove_refs_from, 1, Xs) ->
strict(arg_types(hipe_bifs, remove_refs_from, 1), Xs,
- fun (_) -> t_nil() end);
+ fun (_) -> t_atom('ok') end);
type(hipe_bifs, set_funinfo_native_address, 3, Xs) ->
strict(arg_types(hipe_bifs, set_funinfo_native_address, 3), Xs,
fun (_) -> t_nil() end);