aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/hipe/hipe_module.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-03-16 18:24:43 +0100
committerSverker Eriksson <[email protected]>2017-03-17 17:50:55 +0100
commita603a15503c6e11290c354c8c5c18578ccd8acff (patch)
tree49629559de947bf3b30daec268a2c8fec964357d /erts/emulator/hipe/hipe_module.c
parent6a0ca45bb465150ba47d057ecd6c75681b790aab (diff)
downloadotp-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.c4
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);
}