diff options
author | Lukas Larsson <[email protected]> | 2018-12-14 08:55:20 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2018-12-14 08:55:20 +0100 |
commit | a5d4caa2ac1e3b3dc7b4dd535c0e485196b0a1c2 (patch) | |
tree | 23e74b5de8dcc01bead22e147eb0788ca3bf440c /erts | |
parent | 663c14e6fd332bf17c677351443d1762530c858d (diff) | |
parent | 9959f0cf1fb563f12a79638fc5173d8d387c7313 (diff) | |
download | otp-a5d4caa2ac1e3b3dc7b4dd535c0e485196b0a1c2.tar.gz otp-a5d4caa2ac1e3b3dc7b4dd535c0e485196b0a1c2.tar.bz2 otp-a5d4caa2ac1e3b3dc7b4dd535c0e485196b0a1c2.zip |
Merge branch 'maint'
Diffstat (limited to 'erts')
-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 d5dfb096b1..cf44640f12 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]) && !erts_is_literal(refs[i],boxed_val(refs[i]))) + if (is_not_immed(refs[i]) && !erts_is_literal(refs[i],ptr_val(refs[i]))) refs[i] = offset_ptr(refs[i], offs); } bp->off_heap.first = NULL; |