diff options
author | Fredrik Gustafsson <[email protected]> | 2013-02-20 19:03:25 +0100 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-02-20 19:03:25 +0100 |
commit | 565b4a4065229c0c9ea08a758be3a2c228514883 (patch) | |
tree | eae65e74cb2a01b6ab1706d3b3d8bd5a80134c84 /erts | |
parent | ec25c466c944538af915f44dc5e7d6e84f943617 (diff) | |
parent | d3048b6e6fa36979720253dc202355de46acc805 (diff) | |
download | otp-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 'erts')
-rw-r--r-- | erts/emulator/hipe/hipe_bif0.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/hipe/hipe_bif0.c b/erts/emulator/hipe/hipe_bif0.c index 1562748f2d..059c013322 100644 --- a/erts/emulator/hipe/hipe_bif0.c +++ b/erts/emulator/hipe/hipe_bif0.c @@ -1791,7 +1791,7 @@ BIF_RETTYPE hipe_bifs_remove_refs_from_1(BIF_ALIST_1) if (BIF_ARG_1 == am_all) { hipe_purge_all_refs(); - BIF_RET(NIL); + BIF_RET(am_ok); } if (!term_to_mfa(BIF_ARG_1, &mfa)) @@ -1828,7 +1828,7 @@ BIF_RETTYPE hipe_bifs_remove_refs_from_1(BIF_ALIST_1) caller_mfa->refers_to = NULL; } hipe_mfa_info_table_unlock(); - BIF_RET(NIL); + BIF_RET(am_ok); } |