aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-10-23 19:21:07 +0200
committerRickard Green <[email protected]>2018-03-05 11:54:59 +0100
commit12e6a19037afe9bcab53b1429b68e35c4eb7bafb (patch)
tree8c90682e8819f9c6ec21caa5069d40bf122aa46f /erts/emulator/beam/erl_process.c
parentf786c9d08f45458fd6cde543e9141ec20683d1dd (diff)
downloadotp-12e6a19037afe9bcab53b1429b68e35c4eb7bafb.tar.gz
otp-12e6a19037afe9bcab53b1429b68e35c4eb7bafb.tar.bz2
otp-12e6a19037afe9bcab53b1429b68e35c4eb7bafb.zip
Remove ERTS_PSFLG_ON_HEAP_MSGQ
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
-rw-r--r--erts/emulator/beam/erl_process.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index 3baca6ce79..ea60013c52 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -11593,7 +11593,6 @@ erl_create_process(Process* parent, /* Parent of process (default group leader).
flags |= F_OFF_HEAP_MSGQ;
}
else if (so->flags & SPO_ON_HEAP_MSGQ) {
- state |= ERTS_PSFLG_ON_HEAP_MSGQ;
flags |= F_ON_HEAP_MSGQ;
}
@@ -11611,11 +11610,6 @@ erl_create_process(Process* parent, /* Parent of process (default group leader).
goto error;
}
- ASSERT((erts_atomic32_read_nob(&p->state)
- & ERTS_PSFLG_ON_HEAP_MSGQ)
- || (erts_atomic32_read_nob(&p->state)
- & ERTS_PSFLG_OFF_HEAP_MSGQ));
-
#ifdef SHCOPY_SPAWN
arg_size = copy_shared_calculate(args, &info);
#else