aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-10-20 15:57:45 +0200
committerSverker Eriksson <[email protected]>2016-10-20 15:57:45 +0200
commit616a4c1d925192b3559ddcad6fcda329ad706dab (patch)
tree8dc4cb2947a95c65ca641d097372ee82a28a2c13 /erts
parent4b6071c7454de80efaa27b92397a1467a2ddeddb (diff)
parenta79e2569f5a6d6a622bd78b04326a6ad976c0a4c (diff)
downloadotp-616a4c1d925192b3559ddcad6fcda329ad706dab.tar.gz
otp-616a4c1d925192b3559ddcad6fcda329ad706dab.tar.bz2
otp-616a4c1d925192b3559ddcad6fcda329ad706dab.zip
Merge branch 'kostis/hipe_bifs-add_ref/PR-1205'
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/hipe/hipe_bif0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/hipe/hipe_bif0.c b/erts/emulator/hipe/hipe_bif0.c
index 453a452590..57fbbd9403 100644
--- a/erts/emulator/hipe/hipe_bif0.c
+++ b/erts/emulator/hipe/hipe_bif0.c
@@ -1582,7 +1582,7 @@ BIF_RETTYPE hipe_bifs_add_ref_2(BIF_ALIST_2)
ref, callee.mod, callee.fun, callee.ari, ref->address);
DBG_TRACE_MFA(callee.mod, callee.fun, callee.ari, "add_ref at %p FROM %T:%T/%u (from %p)",
ref, caller.mod, caller.fun, caller.ari, ref->address);
- BIF_RET(NIL);
+ BIF_RET(am_ok);
badarg:
BIF_ERROR(BIF_P, BADARG);