aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/hipe
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2018-04-26 16:35:16 +0200
committerRickard Green <[email protected]>2018-04-26 17:13:54 +0200
commit48d18d5c6c41833d115a46d5086826d399715796 (patch)
tree889ac22f1a8689b29cd722d99c3fb04a1a7892e2 /erts/emulator/hipe
parent630d7e7df458490ae4d5c263e096851e14349537 (diff)
downloadotp-48d18d5c6c41833d115a46d5086826d399715796.tar.gz
otp-48d18d5c6c41833d115a46d5086826d399715796.tar.bz2
otp-48d18d5c6c41833d115a46d5086826d399715796.zip
Fix handling of process-info requests in receive
Diffstat (limited to 'erts/emulator/hipe')
-rw-r--r--erts/emulator/hipe/hipe_native_bif.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/hipe/hipe_native_bif.c b/erts/emulator/hipe/hipe_native_bif.c
index cf8c4139be..24078af046 100644
--- a/erts/emulator/hipe/hipe_native_bif.c
+++ b/erts/emulator/hipe/hipe_native_bif.c
@@ -546,6 +546,9 @@ Eterm hipe_check_get_msg(Process *c_p)
if (!msgp) {
int get_out;
+ c_p->i = NULL;
+ c_p->arity = 0;
+ c_p->current = NULL;
(void) erts_proc_sig_receive_helper(c_p, CONTEXT_REDS, 0,
&msgp, &get_out);
/* FIXME: Need to bump reductions... */