diff options
author | Lukas Larsson <[email protected]> | 2018-12-05 12:24:05 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2018-12-05 12:24:05 +0100 |
commit | 70ba4ed97a28fc7466d00c0a277ad5a0c0913fbb (patch) | |
tree | 41cc8951c6145503bf5418c5e2078fd2b1f4e30a /erts/emulator/beam | |
parent | 09b620eae7ebb623d7e62cbcab28c06e65d90008 (diff) | |
parent | 8caf018e460ca1efbe0df41aa042cf1d25c62dd3 (diff) | |
download | otp-70ba4ed97a28fc7466d00c0a277ad5a0c0913fbb.tar.gz otp-70ba4ed97a28fc7466d00c0a277ad5a0c0913fbb.tar.bz2 otp-70ba4ed97a28fc7466d00c0a277ad5a0c0913fbb.zip |
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r-- | erts/emulator/beam/erl_gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_gc.c b/erts/emulator/beam/erl_gc.c index b4df418cd5..d5dfb096b1 100644 --- a/erts/emulator/beam/erl_gc.c +++ b/erts/emulator/beam/erl_gc.c @@ -2477,7 +2477,7 @@ erts_copy_one_frag(Eterm** hpp, ErlOffHeap* off_heap, *hpp = hp; for (i = 0; i < nrefs; i++) { - if (is_not_immed(refs[i])) + if (is_not_immed(refs[i]) && !erts_is_literal(refs[i],boxed_val(refs[i]))) refs[i] = offset_ptr(refs[i], offs); } bp->off_heap.first = NULL; |