test for MAP_32BIT to enable JIT
This commit is contained in:
parent
aef9702b7b
commit
fc4d36de07
@ -1,6 +1,8 @@
|
||||
#include "../core.h"
|
||||
#if (defined(__x86_64) || defined(__amd64__)) && MM!=0
|
||||
#include "../vm.h"
|
||||
|
||||
#if JIT_START!=-1
|
||||
#include "nvm_x86_64.c"
|
||||
#else
|
||||
#include "nvm_placeholder.c"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
2
src/vm.h
2
src/vm.h
@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
#if (defined(__x86_64) || defined(__amd64__)) && MM!=0
|
||||
#if (defined(__x86_64) || defined(__amd64__)) && defined(MAP_32BIT) && MM!=0
|
||||
#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
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user