diff options
author | Mike Pall <mike> | 2010-02-26 18:20:24 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2010-02-26 18:20:24 +0100 |
commit | 52b7651327b2aec4f12ae47f3ce5b56b1fb55996 (patch) | |
tree | 05c7a64bdbbcc947b529a988faa39593a2be6477 /src/lj_state.c | |
parent | a0fbb05bf0353ac0fede6deec15db5d2d3a9017f (diff) | |
download | luajit-52b7651327b2aec4f12ae47f3ce5b56b1fb55996.tar.gz luajit-52b7651327b2aec4f12ae47f3ce5b56b1fb55996.tar.bz2 luajit-52b7651327b2aec4f12ae47f3ce5b56b1fb55996.zip |
Place dynamically generated code near static code on x64.
Diffstat (limited to '')
-rw-r--r-- | src/lj_state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_state.c b/src/lj_state.c index 3305fd18..e690a5d3 100644 --- a/src/lj_state.c +++ b/src/lj_state.c | |||
@@ -143,6 +143,7 @@ static void close_state(lua_State *L) | |||
143 | global_State *g = G(L); | 143 | global_State *g = G(L); |
144 | #ifndef LUAJIT_USE_SYSMALLOC | 144 | #ifndef LUAJIT_USE_SYSMALLOC |
145 | if (g->allocf == lj_alloc_f) { | 145 | if (g->allocf == lj_alloc_f) { |
146 | lj_trace_freestate(g); | ||
146 | lj_alloc_destroy(g->allocd); | 147 | lj_alloc_destroy(g->allocd); |
147 | } else | 148 | } else |
148 | #endif | 149 | #endif |