aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2018-12-14 08:55:06 +0100
committerLukas Larsson <[email protected]>2018-12-14 08:55:06 +0100
commit9959f0cf1fb563f12a79638fc5173d8d387c7313 (patch)
treee8bd4b0df6481b2d9deca6b36eb39ba06a1da474 /erts/emulator
parente7c8c9e783dfa978cbcfdfd1f2baecf0af754921 (diff)
parent3d7d66b84b69f3eb42e8bcd8dc510b6676e31cac (diff)
downloadotp-9959f0cf1fb563f12a79638fc5173d8d387c7313.tar.gz
otp-9959f0cf1fb563f12a79638fc5173d8d387c7313.tar.bz2
otp-9959f0cf1fb563f12a79638fc5173d8d387c7313.zip
Merge branch 'lukas/erts/fix_lit_msg_copy_in_gc' into maint
* lukas/erts/fix_lit_msg_copy_in_gc: erts: Use ptr_val for pointer in gc msg copy
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/erl_gc.c2
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;