aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_alloc.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-01-31 13:30:20 +0100
committerRickard Green <[email protected]>2017-02-13 15:43:21 +0100
commit7e9f0932f9d06edca0c30d4a2b9d57f34677344c (patch)
tree455b7c4ad302f97495011247df0d2b9856861773 /erts/emulator/beam/erl_alloc.c
parent0affa91e1c61917a60616e8ff16aff759051a36c (diff)
downloadotp-7e9f0932f9d06edca0c30d4a2b9d57f34677344c.tar.gz
otp-7e9f0932f9d06edca0c30d4a2b9d57f34677344c.tar.bz2
otp-7e9f0932f9d06edca0c30d4a2b9d57f34677344c.zip
Magic indirection
Diffstat (limited to 'erts/emulator/beam/erl_alloc.c')
-rw-r--r--erts/emulator/beam/erl_alloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_alloc.c b/erts/emulator/beam/erl_alloc.c
index e433de0f35..6708d96d56 100644
--- a/erts/emulator/beam/erl_alloc.c
+++ b/erts/emulator/beam/erl_alloc.c
@@ -684,6 +684,8 @@ erts_alloc_init(int *argc, char **argv, ErtsAllocInitOpts *eaiop)
= sizeof(NifExportTrace);
fix_type_sizes[ERTS_ALC_FIX_TYPE_IX(ERTS_ALC_T_MREF_NSCHED_ENT)]
= sizeof(ErtsNSchedMagicRefTableEntry);
+ fix_type_sizes[ERTS_ALC_FIX_TYPE_IX(ERTS_ALC_T_MINDIRECTION)]
+ = ERTS_MAGIC_BIN_UNALIGNED_SIZE(sizeof(ErtsMagicIndirectionWord));
#ifdef HARD_DEBUG
hdbg_init();