diff options
author | Sverker Eriksson <[email protected]> | 2016-10-05 19:09:28 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-10-14 14:29:18 +0200 |
commit | 25b28611ea06d3e2d3708d20e53118ec24ae8321 (patch) | |
tree | a59b38eafae5acd8cb50257dec9161c88945130d /erts/emulator/hipe/hipe_bif0.c | |
parent | e048ebf4bddf8434d0f4402863c0f6313a741df0 (diff) | |
download | otp-25b28611ea06d3e2d3708d20e53118ec24ae8321.tar.gz otp-25b28611ea06d3e2d3708d20e53118ec24ae8321.tar.bz2 otp-25b28611ea06d3e2d3708d20e53118ec24ae8321.zip |
erts: Fix old leak for arm hipe code
* Use erts_alloc(ERTS_ALC_T_HIPE_EXEC,_)
* Each module has its own trampolines
* Stubs do not use trampolines,
they do their own long jumps.
Diffstat (limited to 'erts/emulator/hipe/hipe_bif0.c')
-rw-r--r-- | erts/emulator/hipe/hipe_bif0.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/erts/emulator/hipe/hipe_bif0.c b/erts/emulator/hipe/hipe_bif0.c index 58eee1693f..f9a657124a 100644 --- a/erts/emulator/hipe/hipe_bif0.c +++ b/erts/emulator/hipe/hipe_bif0.c @@ -417,7 +417,6 @@ BIF_RETTYPE hipe_bifs_enter_code_3(BIF_ALIST_3) ASSERT(bitoffs == 0); ASSERT(bitsize == 0); trampolines = NIL; - // XXX: Trampolines are not tracked and freed address = hipe_alloc_code(nrbytes, BIF_ARG_2, &trampolines, BIF_P); if (!address) { Uint nrcallees; |