Pārlūkot izejas kodu

ARM: Enable JIT compiler (except for iOS).

Mike Pall 14 gadi atpakaļ
vecāks
revīzija
84e33332a7
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  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