aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/hipe
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-09-04 18:45:06 +0200
committerSverker Eriksson <[email protected]>2015-09-11 16:42:49 +0200
commitada8342bedf8d4b84d4c3c10fcfc7919e532fd8c (patch)
treefe32a650f4ec4f49b057249ba02aa8caec0c57a6 /erts/emulator/hipe
parent1fd4809777931a4dc166fd9f1b552317a385cd62 (diff)
downloadotp-ada8342bedf8d4b84d4c3c10fcfc7919e532fd8c.tar.gz
otp-ada8342bedf8d4b84d4c3c10fcfc7919e532fd8c.tar.bz2
otp-ada8342bedf8d4b84d4c3c10fcfc7919e532fd8c.zip
erts: Add new allocator LITERAL
Diffstat (limited to 'erts/emulator/hipe')
-rw-r--r--erts/emulator/hipe/hipe_bif0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/hipe/hipe_bif0.c b/erts/emulator/hipe/hipe_bif0.c
index cc68e1f74d..7193c3d301 100644
--- a/erts/emulator/hipe/hipe_bif0.c
+++ b/erts/emulator/hipe/hipe_bif0.c
@@ -488,7 +488,7 @@ static void *const_term_alloc(void *tmpl)
alloc_size = size + (offsetof(struct const_term, mem)/sizeof(Eterm));
hipe_constants_size += alloc_size;
- p = (struct const_term*)erts_alloc(ERTS_ALC_T_HIPE, alloc_size * sizeof(Eterm));
+ p = (struct const_term*)erts_alloc(ERTS_ALC_T_LITERAL, alloc_size * sizeof(Eterm));
/* I have absolutely no idea if having a private 'off_heap'
works or not. _Some_ off_heap object is required for