Explorar el Código

ARM: Enable JIT compiler (except for iOS).

Mike Pall hace 14 años
padre
commit
84e33332a7
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/lj_arch.h

+ 3 - 0
src/lj_arch.h

@@ -139,7 +139,10 @@
 #define LJ_TARGET_MASKROT	1
 #define LJ_TARGET_UNIFYROT	2	/* Want only IR_BROR. */
 #define LJ_ARCH_DUALNUM		2
+#if LJ_TARGET_OSX
+/* Runtime code generation is restricted on iOS. Complain to Apple, not me. */
 #define LJ_ARCH_NOJIT		1
+#endif
 
 #elif LUAJIT_TARGET == LUAJIT_ARCH_PPC