diff options
author | John Högberg <john@erlang.org> | 2020-11-05 12:31:08 +0100 |
---|---|---|
committer | John Högberg <john@erlang.org> | 2020-11-09 10:00:39 +0100 |
commit | e6d9d0da048513552bacbac80356e1d962431062 (patch) | |
tree | 10a8b86f3ab04e35aac9217f5857f9d59bcbf1f9 /erts/emulator/beam/beam_bp.c | |
parent | 18e25cb97a4eddda8f9a440141e8b122e6430873 (diff) | |
download | erlang-e6d9d0da048513552bacbac80356e1d962431062.tar.gz |
otp: Remove HiPE and HiPE-related accessories
Diffstat (limited to 'erts/emulator/beam/beam_bp.c')
-rw-r--r-- | erts/emulator/beam/beam_bp.c | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/erts/emulator/beam/beam_bp.c b/erts/emulator/beam/beam_bp.c index 4e5998f2f8..622baa8ef7 100644 --- a/erts/emulator/beam/beam_bp.c +++ b/erts/emulator/beam/beam_bp.c @@ -198,9 +198,6 @@ erts_bp_match_functions(BpFunctions* f, ErtsCodeMFA *mfa, int specified) #ifndef BEAMASM ASSERT(BeamIsOpCode(ci->op, op_i_func_info_IaaI)); #endif - if (erts_is_function_native(ci)) { - continue; - } switch (specified) { case 3: if (ci->mfa.arity != mfa->arity) @@ -1503,15 +1500,15 @@ check_break(const ErtsCodeInfo *ci, Uint break_flags) #ifndef BEAMASM ASSERT(BeamIsOpCode(ci->op, op_i_func_info_IaaI)); #endif - if (erts_is_function_native(ci)) { - return 0; - } + if (g) { - GenericBpData* bp = &g->data[erts_active_bp_ix()]; - ASSERT((bp->flags & ~ERTS_BPF_ALL) == 0); - if (bp->flags & break_flags) { - return bp; - } + GenericBpData* bp = &g->data[erts_active_bp_ix()]; + + ASSERT((bp->flags & ~ERTS_BPF_ALL) == 0); + if (bp->flags & break_flags) { + return bp; + } } + return 0; } |