diff options
author | Sverker Eriksson <[email protected]> | 2017-03-16 18:24:43 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-03-17 17:50:55 +0100 |
commit | a603a15503c6e11290c354c8c5c18578ccd8acff (patch) | |
tree | 49629559de947bf3b30daec268a2c8fec964357d /erts/emulator/hipe/hipe_module.c | |
parent | 6a0ca45bb465150ba47d057ecd6c75681b790aab (diff) | |
download | otp-a603a15503c6e11290c354c8c5c18578ccd8acff.tar.gz otp-a603a15503c6e11290c354c8c5c18578ccd8acff.tar.bz2 otp-a603a15503c6e11290c354c8c5c18578ccd8acff.zip |
erts: Change HIPE allocations from sys_alloc
to long lived, short lived and native stack.
Diffstat (limited to 'erts/emulator/hipe/hipe_module.c')
-rw-r--r-- | erts/emulator/hipe/hipe_module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/hipe/hipe_module.c b/erts/emulator/hipe/hipe_module.c index 469f077dd2..2e99a30556 100644 --- a/erts/emulator/hipe/hipe_module.c +++ b/erts/emulator/hipe/hipe_module.c @@ -29,7 +29,7 @@ void hipe_free_module(HipeModule *mod) { hipe_free_code(mod->text_segment, mod->text_segment_size); if (mod->data_segment) /* Some modules lack data segments */ - erts_free(ERTS_ALC_T_HIPE, mod->data_segment); + erts_free(ERTS_ALC_T_HIPE_LL, mod->data_segment); - erts_free(ERTS_ALC_T_HIPE, mod); + erts_free(ERTS_ALC_T_HIPE_LL, mod); } |