aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_debug.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-09-17 16:17:10 +0200
committerBjörn-Egil Dahlberg <[email protected]>2015-11-17 14:45:53 +0100
commit748c73f1687b2375d4c607487f40036ba990c4c7 (patch)
tree8ee084e35c8fde7a645c4a47a23bd6b12cc4e2ef /erts/emulator/beam/beam_debug.c
parent2e10fe29f61bbe3246902e8eaf1636dd6457979f (diff)
downloadotp-748c73f1687b2375d4c607487f40036ba990c4c7.tar.gz
otp-748c73f1687b2375d4c607487f40036ba990c4c7.tar.bz2
otp-748c73f1687b2375d4c607487f40036ba990c4c7.zip
Refactor copy sharing
Diffstat (limited to 'erts/emulator/beam/beam_debug.c')
-rw-r--r--erts/emulator/beam/beam_debug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/beam/beam_debug.c b/erts/emulator/beam/beam_debug.c
index 36f3cfabbc..b007d000bf 100644
--- a/erts/emulator/beam/beam_debug.c
+++ b/erts/emulator/beam/beam_debug.c
@@ -96,18 +96,18 @@ erts_debug_copy_shared_1(BIF_ALIST_1)
Uint size;
Eterm* hp;
Eterm copy;
- shcopy_info info;
+ erts_shcopy_t info;
#ifdef SHCOPY_DISABLE
extern int disable_copy_shared;
#endif
- INITIALIZE_INFO(info);
+ INITIALIZE_SHCOPY(info);
size = copy_shared_calculate(term, &info, 0);
if (size > 0) {
hp = HAlloc(p, size);
}
copy = copy_shared_perform(term, size, &info, &hp, &p->off_heap, 0);
- DESTROY_INFO(info);
+ DESTROY_SHCOPY(info);
#ifdef SHCOPY_DISABLE
disable_copy_shared = 0;
#endif