diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-06-16 10:14:41 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-06-16 23:15:28 +0200 |
commit | af376d145f2d32420590e15c99031433b8cb49f6 (patch) | |
tree | 7c8e0145fdc7d29ee592d969da5d6498c7c417ed | |
parent | eb15bb261a09c7e87707da042887ccfd7ef58417 (diff) | |
download | otp-af376d145f2d32420590e15c99031433b8cb49f6.tar.gz otp-af376d145f2d32420590e15c99031433b8cb49f6.tar.bz2 otp-af376d145f2d32420590e15c99031433b8cb49f6.zip |
Revert "Demote rare debug slogan of message discarding to debug build"
This reverts commit 38bd20f4f58e8025bd3ffc718cb7e40a4bde6396.
-rw-r--r-- | erts/emulator/beam/bif.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/erts/emulator/beam/bif.c b/erts/emulator/beam/bif.c index 2b782f4484..bfca861830 100644 --- a/erts/emulator/beam/bif.c +++ b/erts/emulator/beam/bif.c @@ -1914,7 +1914,6 @@ do_send(Process *p, Eterm to, Eterm msg, Eterm *refp, ErtsSendContext* ctx) } else if (is_external_pid(to)) { dep = external_pid_dist_entry(to); if(dep == erts_this_dist_entry) { -#if DEBUG erts_dsprintf_buf_t *dsbufp = erts_create_logger_dsbuf(); erts_dsprintf(dsbufp, "Discarding message %T from %T to %T in an old " @@ -1925,7 +1924,6 @@ do_send(Process *p, Eterm to, Eterm msg, Eterm *refp, ErtsSendContext* ctx) external_pid_creation(to), erts_this_node->creation); erts_send_error_to_logger(p->group_leader, dsbufp); -#endif return 0; } return remote_send(p, dep, to, to, msg, ctx); @@ -1959,7 +1957,6 @@ do_send(Process *p, Eterm to, Eterm msg, Eterm *refp, ErtsSendContext* ctx) } else if (is_external_port(to) && (external_port_dist_entry(to) == erts_this_dist_entry)) { -#if DEBUG erts_dsprintf_buf_t *dsbufp = erts_create_logger_dsbuf(); erts_dsprintf(dsbufp, "Discarding message %T from %T to %T in an old " @@ -1970,7 +1967,6 @@ do_send(Process *p, Eterm to, Eterm msg, Eterm *refp, ErtsSendContext* ctx) external_port_creation(to), erts_this_node->creation); erts_send_error_to_logger(p->group_leader, dsbufp); -#endif return 0; } else if (is_internal_port(to)) { int ret_val; |