Place dynamically generated code near static code on x64.

This commit is contained in:
Mike Pall
2010-02-26 18:20:24 +01:00
parent a0fbb05bf0
commit 52b7651327
3 changed files with 59 additions and 12 deletions

View File

@@ -143,6 +143,7 @@ static void close_state(lua_State *L)
global_State *g = G(L);
#ifndef LUAJIT_USE_SYSMALLOC
if (g->allocf == lj_alloc_f) {
lj_trace_freestate(g);
lj_alloc_destroy(g->allocd);
} else
#endif