diff options
author | Lukas Larsson <[email protected]> | 2019-03-25 11:42:45 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2019-03-25 16:34:11 +0100 |
commit | efff0397b63e5a0ef8676178af89991b97e31dbb (patch) | |
tree | 242cd40393ff590c6176e3b25c07fcf9228953ea /erts | |
parent | ea8cff230088d442539976c75b85368d38429b06 (diff) | |
download | otp-efff0397b63e5a0ef8676178af89991b97e31dbb.tar.gz otp-efff0397b63e5a0ef8676178af89991b97e31dbb.tar.bz2 otp-efff0397b63e5a0ef8676178af89991b97e31dbb.zip |
erts: Fix faulty assert in reference_table_term
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/beam/erl_node_tables.c | 2 |
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); |