diff options
author | John Högberg <john@erlang.org> | 2019-09-17 10:16:05 +0200 |
---|---|---|
committer | John Högberg <john@erlang.org> | 2019-09-17 11:42:56 +0200 |
commit | 65d4f0453532ee007de63118464b9ef8d3439374 (patch) | |
tree | 528d42df5e8c9b16a31cd9f5bd7716e3f883a1ac /erts/emulator/beam/beam_debug.c | |
parent | 40323104481d0813da9286e786af7f43a336b916 (diff) | |
download | erlang-65d4f0453532ee007de63118464b9ef8d3439374.tar.gz |
erts: Use hidden exports for BIF trapping
This hides traps when BIFs are traced, making them appear as a
single call + return pair.
Diffstat (limited to 'erts/emulator/beam/beam_debug.c')
-rw-r--r-- | erts/emulator/beam/beam_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_debug.c b/erts/emulator/beam/beam_debug.c index 6a9a6b7dc9..255ce48306 100644 --- a/erts/emulator/beam/beam_debug.c +++ b/erts/emulator/beam/beam_debug.c @@ -158,7 +158,7 @@ erts_debug_breakpoint_2(BIF_ALIST_2) } if (!erts_try_seize_code_write_permission(BIF_P)) { - ERTS_BIF_YIELD2(bif_export[BIF_erts_debug_breakpoint_2], + ERTS_BIF_YIELD2(&bif_trap_export[BIF_erts_debug_breakpoint_2], BIF_P, BIF_ARG_1, BIF_ARG_2); } erts_proc_unlock(p, ERTS_PROC_LOCK_MAIN); |