x64: Allow building with LUAJIT_USE_SYSMALLOC and LUAJIT_USE_VALGRIND.
commitf3374b526619671fe576d593dcdc6bd048bf5603
authorMike Pall <mike>
Mon, 21 Apr 2014 20:26:46 +0000 (21 22:26 +0200)
committerMike Pall <mike>
Mon, 21 Apr 2014 20:26:46 +0000 (21 22:26 +0200)
treecbd75e5da96e2f3b2c425e9307bf734603e4e27b
parent65626eac23633bfb511513b55b2b4dec5d50e4d3
x64: Allow building with LUAJIT_USE_SYSMALLOC and LUAJIT_USE_VALGRIND.

Valgrind 3.9 killed MAP_32BIT support. Ugh. So now we have to rely on
undocumented behavior where Valgrind always allocates from the bottom
of memory. Alas, such a binary won't run properly without Valgrind.
src/Makefile
src/lib_aux.c
src/lj_state.c