aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_nif.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-04-16 12:28:21 +0200
committerBjörn-Egil Dahlberg <[email protected]>2015-04-16 12:28:21 +0200
commit82670b1f264f14d6dd2502efe459d9478826a788 (patch)
tree90a9656f686cfc9886f5801781b5aed0fed4454e /erts/emulator/beam/erl_nif.c
parentc46ae84ffd858c8fa8ddb3bfbfb3607276173fb4 (diff)
parentc8a0eca92cdda27c3efdde261c9c32bd445a3794 (diff)
downloadotp-82670b1f264f14d6dd2502efe459d9478826a788.tar.gz
otp-82670b1f264f14d6dd2502efe459d9478826a788.tar.bz2
otp-82670b1f264f14d6dd2502efe459d9478826a788.zip
Merge branch 'egil/refactor-message-queue-probes'
* egil/refactor-message-queue-probes: erts: Refactor dtrace call probes erts: Refactor erts_queue_message
Diffstat (limited to 'erts/emulator/beam/erl_nif.c')
-rw-r--r--erts/emulator/beam/erl_nif.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/erts/emulator/beam/erl_nif.c b/erts/emulator/beam/erl_nif.c
index 660f446a52..776bbf6719 100644
--- a/erts/emulator/beam/erl_nif.c
+++ b/erts/emulator/beam/erl_nif.c
@@ -357,11 +357,7 @@ int enif_send(ErlNifEnv* env, const ErlNifPid* to_pid,
if (flush_me) {
flush_env(env); /* Needed for ERTS_HOLE_CHECK */
}
- erts_queue_message(rp, &rp_locks, frags, msg, am_undefined
-#ifdef USE_VM_PROBES
- , NIL
-#endif
- );
+ erts_queue_message(rp, &rp_locks, frags, msg, am_undefined);
if (c_p == rp)
rp_locks &= ~ERTS_PROC_LOCK_MAIN;
if (rp_locks)