aboutsummaryrefslogtreecommitdiffstats
path: root/main/xulrunner/enable-x86_64-tracemonkey.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/xulrunner/enable-x86_64-tracemonkey.patch')
-rw-r--r--main/xulrunner/enable-x86_64-tracemonkey.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/xulrunner/enable-x86_64-tracemonkey.patch b/main/xulrunner/enable-x86_64-tracemonkey.patch
new file mode 100644
index 0000000000..f4e1da036c
--- /dev/null
+++ b/main/xulrunner/enable-x86_64-tracemonkey.patch
@@ -0,0 +1,25 @@
+--- a/js/src/configure.in.old 2009-11-08 19:50:54.299642792 -0500
++++ b/js/src/configure.in 2009-11-08 19:57:49.235621814 -0500
+@@ -2465,6 +2465,10 @@
+ ENABLE_JIT=1
+ NANOJIT_ARCH=i386
+ ;;
++x86_64*-*)
++ ENABLE_JIT=1
++ NANOJIT_ARCH=X64
++ ;;
+ arm*-*)
+ ENABLE_JIT=1
+ NANOJIT_ARCH=ARM
+@@ -2488,7 +2492,10 @@
+ i?86-*)
+ AC_DEFINE(AVMPLUS_IA32)
+ ;;
+-
++x86_64*-*)
++ AC_DEFINE(AVMPLUS_AMD64)
++ AC_DEFINE(AVMPLUS_64BIT)
++ ;;
+ arm*-*)
+ AC_DEFINE(AVMPLUS_ARM)
+ ;;