aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_emu.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-11-19 19:36:08 +0100
committerBjörn-Egil Dahlberg <[email protected]>2015-11-19 19:36:08 +0100
commit6ff15f23c68db356bbad6ab5f939c191b58d453d (patch)
treec7bf6c11844abf13aa7ff4511949ec1261a8c376 /erts/emulator/beam/beam_emu.c
parent02f038355d16e9b6474837727878f58e4ca669c8 (diff)
downloadotp-6ff15f23c68db356bbad6ab5f939c191b58d453d.tar.gz
otp-6ff15f23c68db356bbad6ab5f939c191b58d453d.tar.bz2
otp-6ff15f23c68db356bbad6ab5f939c191b58d453d.zip
Refactor have seq_trace token test
Diffstat (limited to 'erts/emulator/beam/beam_emu.c')
-rw-r--r--erts/emulator/beam/beam_emu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c
index af97cba61c..1a4133bceb 100644
--- a/erts/emulator/beam/beam_emu.c
+++ b/erts/emulator/beam/beam_emu.c
@@ -1963,7 +1963,7 @@ void process_main(void)
dtrace_proc_str(c_p, receiver_name);
token2 = SEQ_TRACE_TOKEN(c_p);
- if (token2 != NIL && token2 != am_have_dt_utag) {
+ if (have_seqtrace(token2)) {
tok_label = signed_val(SEQ_TRACE_T_LABEL(token2));
tok_lastcnt = signed_val(SEQ_TRACE_T_LASTCNT(token2));
tok_serial = signed_val(SEQ_TRACE_T_SERIAL(token2));