aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/register.c
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2015-07-14 15:20:16 +0200
committerLukas Larsson <[email protected]>2015-12-15 10:05:43 +0100
commit17ecb94437bac6726044d299dde48d02dd2b2e9c (patch)
tree4465730f25a5a174583849f6e89067343d1d89e2 /erts/emulator/beam/register.c
parent31b8dd2b4b5259d9ed2178017c3580c42bf62ec6 (diff)
downloadotp-17ecb94437bac6726044d299dde48d02dd2b2e9c.tar.gz
otp-17ecb94437bac6726044d299dde48d02dd2b2e9c.tar.bz2
otp-17ecb94437bac6726044d299dde48d02dd2b2e9c.zip
erts: Refactor out erts functions from hash
Diffstat (limited to 'erts/emulator/beam/register.c')
-rw-r--r--erts/emulator/beam/register.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/beam/register.c b/erts/emulator/beam/register.c
index 7ade8bca0f..fdb6cbc813 100644
--- a/erts/emulator/beam/register.c
+++ b/erts/emulator/beam/register.c
@@ -151,6 +151,9 @@ void init_register_table(void)
f.cmp = (HCMP_FUN) reg_cmp;
f.alloc = (HALLOC_FUN) reg_alloc;
f.free = (HFREE_FUN) reg_free;
+ f.meta_alloc = (HMALLOC_FUN) erts_alloc;
+ f.meta_free = (HMFREE_FUN) erts_free;
+ f.meta_print = (HMPRINT_FUN) erts_print;
hash_init(ERTS_ALC_T_REG_TABLE, &process_reg, "process_reg",
PREG_HASH_SIZE, f);