aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_gc.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-04-12 19:50:01 +0200
committerSverker Eriksson <[email protected]>2017-04-12 19:50:01 +0200
commit56c4aee677f305f2ed9ca877a39e9c3c4f266f4b (patch)
tree7468baa8a5ba2f6e9d7f11103224e8c64d0a4aab /erts/emulator/beam/erl_gc.c
parent486a758ef245effab01d880493a0274de49c1797 (diff)
downloadotp-56c4aee677f305f2ed9ca877a39e9c3c4f266f4b.tar.gz
otp-56c4aee677f305f2ed9ca877a39e9c3c4f266f4b.tar.bz2
otp-56c4aee677f305f2ed9ca877a39e9c3c4f266f4b.zip
erts: Introduce struct binary_internals
to replace macro ERTS_INTERNAL_BINARY_FIELDS as header in Binary and friends.
Diffstat (limited to 'erts/emulator/beam/erl_gc.c')
-rw-r--r--erts/emulator/beam/erl_gc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_gc.c b/erts/emulator/beam/erl_gc.c
index 4398da36d8..8605b8a22a 100644
--- a/erts/emulator/beam/erl_gc.c
+++ b/erts/emulator/beam/erl_gc.c
@@ -1242,7 +1242,7 @@ erts_garbage_collect_literals(Process* p, Eterm* literals,
* link it into the MSO list for the process.
*/
- erts_refc_inc(&bptr->refc, 1);
+ erts_refc_inc(&bptr->intern.refc, 1);
*prev = ptr;
prev = &ptr->next;
}
@@ -3596,7 +3596,7 @@ erts_check_off_heap2(Process *p, Eterm *htop)
erts_aint_t refc;
switch (thing_subtag(u.hdr->thing_word)) {
case REFC_BINARY_SUBTAG:
- refc = erts_refc_read(&u.pb->val->refc, 1);
+ refc = erts_refc_read(&u.pb->val->intern.refc, 1);
break;
case FUN_SUBTAG:
refc = erts_smp_refc_read(&u.fun->fe->refc, 1);
@@ -3608,7 +3608,7 @@ erts_check_off_heap2(Process *p, Eterm *htop)
break;
case REF_SUBTAG:
ASSERT(is_magic_ref_thing(u.hdr));
- refc = erts_refc_read(&u.mref->mb->refc, 1);
+ refc = erts_refc_read(&u.mref->mb->intern.refc, 1);
break;
default:
ASSERT(!"erts_check_off_heap2: Invalid thing_word");