aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/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 /erts/emulator/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 'erts/emulator/hipe')
-rw-r--r--erts/emulator/hipe/hipe_bif0.c4
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);
}