aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_process.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/erl_process.c
parent2e10fe29f61bbe3246902e8eaf1636dd6457979f (diff)
downloadotp-748c73f1687b2375d4c607487f40036ba990c4c7.tar.gz
otp-748c73f1687b2375d4c607487f40036ba990c4c7.tar.bz2
otp-748c73f1687b2375d4c607487f40036ba990c4c7.zip
Refactor copy sharing
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
-rw-r--r--erts/emulator/beam/erl_process.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c
index 96d17306a5..a691a3c773 100644
--- a/erts/emulator/beam/erl_process.c
+++ b/erts/emulator/beam/erl_process.c
@@ -10749,8 +10749,8 @@ erl_create_process(Process* parent, /* Parent of process (default group leader).
erts_aint32_t prio = (erts_aint32_t) PRIORITY_NORMAL;
#ifdef SHCOPY_SPAWN
unsigned shflags = 0; /* could be taken from so->flags, if necessary */
- shcopy_info info;
- INITIALIZE_INFO(info);
+ erts_shcopy_t info;
+ INITIALIZE_SHCOPY(info);
#endif
#ifdef ERTS_SMP
@@ -10887,7 +10887,7 @@ erl_create_process(Process* parent, /* Parent of process (default group leader).
BM_SWAP_TIMER(system,copy);
#ifdef SHCOPY_SPAWN
p->arg_reg[2] = copy_shared_perform(args, arg_size, &info, &p->htop, &p->off_heap, shflags);
- DESTROY_INFO(info);
+ DESTROY_SHCOPY(info);
#else
p->arg_reg[2] = copy_struct(args, arg_size, &p->htop, &p->off_heap);
#endif