diff options
author | Mike Pall <mike> | 2012-06-10 16:41:00 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2012-06-10 16:41:00 +0200 |
commit | e496a502b0686af25053c161752c044074edc44e (patch) | |
tree | e0bfb4bfa40d3eb910ed04f4d66b641634b29a47 /src/vm_x86.dasc | |
parent | d5a915ccf58bff38f932de752771cd650809787e (diff) | |
download | luajit-e496a502b0686af25053c161752c044074edc44e.tar.gz luajit-e496a502b0686af25053c161752c044074edc44e.tar.bz2 luajit-e496a502b0686af25053c161752c044074edc44e.zip |
Pass various build, arch and OS flags to DynASM.
Diffstat (limited to 'src/vm_x86.dasc')
-rw-r--r-- | src/vm_x86.dasc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vm_x86.dasc b/src/vm_x86.dasc index 30ee5b67..1cab76eb 100644 --- a/src/vm_x86.dasc +++ b/src/vm_x86.dasc | |||
@@ -16,6 +16,13 @@ | |||
16 | | | 16 | | |
17 | |//----------------------------------------------------------------------- | 17 | |//----------------------------------------------------------------------- |
18 | | | 18 | | |
19 | |.if X64 | ||
20 | |.define SSE, 1 | ||
21 | |.if WIN | ||
22 | |.define X64WIN, 1 | ||
23 | |.endif | ||
24 | |.endif | ||
25 | | | ||
19 | |// Fixed register assignments for the interpreter. | 26 | |// Fixed register assignments for the interpreter. |
20 | |// This is very fragile and has many dependencies. Caveat emptor. | 27 | |// This is very fragile and has many dependencies. Caveat emptor. |
21 | |.define BASE, edx // Not C callee-save, refetched anyway. | 28 | |.define BASE, edx // Not C callee-save, refetched anyway. |