diff options
Diffstat (limited to 'vm/compiler/Compiler.c')
-rw-r--r-- | vm/compiler/Compiler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/compiler/Compiler.c b/vm/compiler/Compiler.c index d23a52fdf..705333b85 100644 --- a/vm/compiler/Compiler.c +++ b/vm/compiler/Compiler.c @@ -126,7 +126,7 @@ bool dvmCompilerSetupCodeCache(void) extern void dmvCompilerTemplateEnd(void); /* Allocate the code cache */ - gDvmJit.codeCache = mmap(0, CODE_CACHE_SIZE, + gDvmJit.codeCache = mmap(0, gDvmJit.codeCacheSize, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANON, -1, 0); if (gDvmJit.codeCache == MAP_FAILED) { |