aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2010-05-28 20:43:56 +0200
committerRaimo Niskanen <[email protected]>2010-06-03 14:54:21 +0200
commit1e1482a82280ffd16ca160845f8d7fd3d52a0aba (patch)
tree0a8be397eba4c04a3b830f341971a04a7610f5f8
parent091c65e81be487d3cf69822d181996e6ebbfd502 (diff)
downloadotp-1e1482a82280ffd16ca160845f8d7fd3d52a0aba.tar.gz
otp-1e1482a82280ffd16ca160845f8d7fd3d52a0aba.tar.bz2
otp-1e1482a82280ffd16ca160845f8d7fd3d52a0aba.zip
Fix assertion in trace_pattern for bifs
-rw-r--r--erts/emulator/beam/beam_bp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_bp.c b/erts/emulator/beam/beam_bp.c
index 9004c74f51..5ccac9b593 100644
--- a/erts/emulator/beam/beam_bp.c
+++ b/erts/emulator/beam/beam_bp.c
@@ -1042,7 +1042,8 @@ static int set_function_break(Module *modp, BeamInstr *pc, int bif,
*pc == (BeamInstr) BeamOp(op_i_mtrace_breakpoint) ||
*pc == (BeamInstr) BeamOp(op_i_debug_breakpoint) ||
*pc == (BeamInstr) BeamOp(op_i_time_breakpoint) ||
- *pc == (BeamInstr) BeamOp(op_i_count_breakpoint));
+ *pc == (BeamInstr) BeamOp(op_i_count_breakpoint) ||
+ *pc == (BeamInstr) em_apply_bif);
if (*pc == (BeamInstr) BeamOp(op_i_debug_breakpoint)) {
/* Debug bp must be last, so if it is also first;
* it must be singleton. */