aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2016-04-19 11:26:03 +0200
committerLukas Larsson <[email protected]>2016-04-26 16:02:44 +0200
commitd8371a0598ee7c831e8f096cfd5b0af0a0503474 (patch)
treee351126fafcf8af24f41d387f14d52394bead425 /erts/emulator/beam
parent0547610c0bd1fb0de4352fc8322094722145d9d1 (diff)
downloadotp-d8371a0598ee7c831e8f096cfd5b0af0a0503474.tar.gz
otp-d8371a0598ee7c831e8f096cfd5b0af0a0503474.tar.bz2
otp-d8371a0598ee7c831e8f096cfd5b0af0a0503474.zip
erts: Expand trace tests for refc binaries
Make sure to cover all of the refc binary cases in tracing
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r--erts/emulator/beam/erl_trace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_trace.c b/erts/emulator/beam/erl_trace.c
index ba557ab20e..32d0ba9f4c 100644
--- a/erts/emulator/beam/erl_trace.c
+++ b/erts/emulator/beam/erl_trace.c
@@ -1860,6 +1860,8 @@ trace_port_receive(Port *t_p, Eterm caller, Eterm what, ...)
}
data = TUPLE2(hp, caller, data);
+ hp += 3;
+ ASSERT(hp <= (local_heap + LOCAL_HEAP_SIZE) || orig_hp);
send_to_tracer_nif(NULL, &t_p->common, t_p->common.id, tnif,
am_receive, data, THE_NON_VALUE);