aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2018-12-13 10:27:07 +0100
committerBjörn Gustavsson <[email protected]>2018-12-13 10:27:07 +0100
commit6ac458a4019c53b3f237063fe91cc19f144bede6 (patch)
tree3dc841da1d1b9ec0be976fae637ada80102b7203
parent3e58c9be25dbe9eb5c0cdda31f1b88d41f4d7131 (diff)
parent4a1ccf10f74aba2fb0e90183afa53fa51b16aa70 (diff)
downloadotp-6ac458a4019c53b3f237063fe91cc19f144bede6.tar.gz
otp-6ac458a4019c53b3f237063fe91cc19f144bede6.tar.bz2
otp-6ac458a4019c53b3f237063fe91cc19f144bede6.zip
Merge branch 'bjorn/erts/remove-faulty-assertion'
* bjorn/erts/remove-faulty-assertion: erl_bif_list: Remove faulty assertion
-rw-r--r--erts/emulator/beam/erl_bif_lists.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_bif_lists.c b/erts/emulator/beam/erl_bif_lists.c
index ab4869c368..b23fa77f5f 100644
--- a/erts/emulator/beam/erl_bif_lists.c
+++ b/erts/emulator/beam/erl_bif_lists.c
@@ -1161,8 +1161,6 @@ static BIF_RETTYPE lists_reverse_onheap(Process *c_p,
if (is_nil(list)) {
BIF_RET(tail);
} else if (is_list(list)) {
- ASSERT(is_list(tail));
-
if (cells_left > CELLS_PER_RED) {
return lists_reverse_alloc(c_p, list, tail);
}