check for System V calling convention OSes for JIT
This commit is contained in:
parent
e979faea0e
commit
f8408f0ca6
2
src/vm.h
2
src/vm.h
@ -2,7 +2,7 @@
|
|||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
|
|
||||||
|
|
||||||
#if (defined(__x86_64) || defined(__amd64__)) && defined(MAP_32BIT) && MM!=0
|
#if (defined(__x86_64) || defined(__amd64__)) && (__APPLE__ || __MACH__ || __linux__ || __FreeBSD__ || __unix || __unix__) && defined(MAP_32BIT) && MM!=0
|
||||||
#ifndef JIT_START
|
#ifndef JIT_START
|
||||||
#define JIT_START 2 // number of calls for when to start JITting. -1: never JIT; 0: JIT everything, n: JIT after n non-JIT invocations; max ¯1+2⋆16
|
#define JIT_START 2 // number of calls for when to start JITting. -1: never JIT; 0: JIT everything, n: JIT after n non-JIT invocations; max ¯1+2⋆16
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user