aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_bif_load.c
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator/beam/beam_bif_load.c')
-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
}