Correctly align and free allocated machine code areas.

Bump default mcode area size to 64K for x64.
This commit is contained in:
Mike Pall
2010-02-27 19:53:14 +01:00
parent 52b7651327
commit ec78d3177e
4 changed files with 15 additions and 12 deletions

View File

@@ -53,7 +53,7 @@
#define JIT_F_OPT_3 (JIT_F_OPT_2|JIT_F_OPT_FWD|JIT_F_OPT_DSE|JIT_F_OPT_FUSE)
#define JIT_F_OPT_DEFAULT JIT_F_OPT_3
#ifdef LUA_USE_WIN
#if defined(LUA_USE_WIN) || LJ_64
/* See: http://blogs.msdn.com/oldnewthing/archive/2003/10/08/55239.aspx */
#define JIT_P_sizemcode_DEFAULT 64
#else