aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2019-03-25 11:42:45 +0100
committerLukas Larsson <[email protected]>2019-03-25 16:34:11 +0100
commitefff0397b63e5a0ef8676178af89991b97e31dbb (patch)
tree242cd40393ff590c6176e3b25c07fcf9228953ea /erts/emulator
parentea8cff230088d442539976c75b85368d38429b06 (diff)
downloadotp-efff0397b63e5a0ef8676178af89991b97e31dbb.tar.gz
otp-efff0397b63e5a0ef8676178af89991b97e31dbb.tar.bz2
otp-efff0397b63e5a0ef8676178af89991b97e31dbb.zip
erts: Fix faulty assert in reference_table_term
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/erl_node_tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_node_tables.c b/erts/emulator/beam/erl_node_tables.c
index 215dc6fa71..49dea8919b 100644
--- a/erts/emulator/beam/erl_node_tables.c
+++ b/erts/emulator/beam/erl_node_tables.c
@@ -2295,7 +2295,7 @@ reference_table_term(Uint **hpp, ErlOffHeap *ohp, Uint *szp)
tup = MK_2TUP(AM_ets, drp->id);
}
else {
- ASSERT(!drp->ctrl_ref && drp->node_ref && !drp->signal_ref);
+ ASSERT(!drp->ctrl_ref && (drp->node_ref || drp->sequence_ref) && !drp->signal_ref);
ASSERT(is_atom(drp->id));
tup = MK_2TUP(drp->id, MK_UINT(drp->creation));
tup = MK_2TUP(AM_node, tup);