summaryrefslogtreecommitdiff
path: root/src/lj_arch.h
diff options
context:
space:
mode:
authorMike Pall <mike>2010-02-28 21:45:38 +0100
committerMike Pall <mike>2010-02-28 21:51:01 +0100
commit2e22d33d9d256e9a1551229f1b51e2a6f02da2f6 (patch)
tree55c51dd77b08afd7044a046cb3b037106285000c /src/lj_arch.h
parent956065fd047de66aab31cd4336f3e663e87db3e3 (diff)
downloadluajit-2e22d33d9d256e9a1551229f1b51e2a6f02da2f6.tar.gz
luajit-2e22d33d9d256e9a1551229f1b51e2a6f02da2f6.tar.bz2
luajit-2e22d33d9d256e9a1551229f1b51e2a6f02da2f6.zip
Enable JIT compiler for x64.
Only works on Linux/x64 and Windows/x64 right now. Force an x64 build on Linux/x64 with: make CC="gcc -m64" NYI: handle on-trace OOM errors. NYI: improve register allocation for x64.
Diffstat (limited to 'src/lj_arch.h')
-rw-r--r--src/lj_arch.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h
index 111ea8c1..86a2d5ed 100644
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
@@ -48,7 +48,6 @@
48#define LJ_TARGET_X64 1 48#define LJ_TARGET_X64 1
49#define LJ_TARGET_X86ORX64 1 49#define LJ_TARGET_X86ORX64 1
50#define LJ_PAGESIZE 4096 50#define LJ_PAGESIZE 4096
51#define LJ_ARCH_NOJIT 1 /* NYI */
52#else 51#else
53#error "No target architecture defined" 52#error "No target architecture defined"
54#endif 53#endif