aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-02-23 15:45:56 +0100
committerSverker Eriksson <[email protected]>2012-02-23 15:45:56 +0100
commit1bf37a66d522a6f7d42fbd7602fd1236d586652c (patch)
treea962c7266dfdd02006caef4498f8638f3880220f /erts/emulator
parent62a41d25361de2ee08970a3905c63c503d3c89a1 (diff)
downloadotp-1bf37a66d522a6f7d42fbd7602fd1236d586652c.tar.gz
otp-1bf37a66d522a6f7d42fbd7602fd1236d586652c.tar.bz2
otp-1bf37a66d522a6f7d42fbd7602fd1236d586652c.zip
erts: Use correct macro for "yield-return"
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/beam_bif_load.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/beam_bif_load.c b/erts/emulator/beam/beam_bif_load.c
index e06fe52c36..e4644065b7 100644
--- a/erts/emulator/beam/beam_bif_load.c
+++ b/erts/emulator/beam/beam_bif_load.c
@@ -355,9 +355,9 @@ staging_epilogue(Process* c_p, int commit, Eterm res, int is_blocking)
erts_suspend(c_p, ERTS_PROC_LOCK_MAIN, NULL);
/*
* handle_code_ix_activation() will do the rest "later"
- * and resume this process in bif_return_trap() to return 'res'.
+ * and resume this process to return 'res'.
*/
- ERTS_BIF_YIELD1(&bif_return_trap_export, c_p, res);
+ ERTS_BIF_YIELD_RETURN(c_p, res);
}
#endif
}