diff options
author | Sverker Eriksson <[email protected]> | 2017-04-12 19:50:01 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-04-12 19:50:01 +0200 |
commit | 56c4aee677f305f2ed9ca877a39e9c3c4f266f4b (patch) | |
tree | 7468baa8a5ba2f6e9d7f11103224e8c64d0a4aab /erts/emulator/beam/erl_process_dump.c | |
parent | 486a758ef245effab01d880493a0274de49c1797 (diff) | |
download | otp-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_process_dump.c')
-rw-r--r-- | erts/emulator/beam/erl_process_dump.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_process_dump.c b/erts/emulator/beam/erl_process_dump.c index 77c7c5e73c..fbf14df92b 100644 --- a/erts/emulator/beam/erl_process_dump.c +++ b/erts/emulator/beam/erl_process_dump.c @@ -447,8 +447,8 @@ heap_dump(fmtfn_t to, void *to_arg, Eterm x) ProcBin* pb = (ProcBin *) binary_val(x); Binary* val = pb->val; - if (erts_atomic_xchg_nob(&val->refc, 0) != 0) { - val->flags = (UWord) all_binaries; + if (erts_atomic_xchg_nob(&val->intern.refc, 0) != 0) { + val->intern.flags = (UWord) all_binaries; all_binaries = val; } erts_print(to, to_arg, @@ -529,7 +529,7 @@ dump_binaries(fmtfn_t to, void *to_arg, Binary* current) erts_print(to, to_arg, "%02X", bytes[i]); } erts_putc(to, to_arg, '\n'); - current = (Binary *) current->flags; + current = (Binary *) current->intern.flags; } } |