--- webkit-1.4.1.orig/Source/JavaScriptCore/wtf/Platform.h 2011-06-30 12:14:01.572119909 +0200 +++ webkit-1.4.1/Source/JavaScriptCore/wtf/Platform.h 2011-06-30 12:17:00.352382262 +0200 @@ -139,8 +139,9 @@ /* CPU(MIPS) - MIPS 32-bit */ /* Note: Only O32 ABI is tested, so we enable it for O32 ABI for now. */ +/* N32 is also tested, without JIT. */ #if (defined(mips) || defined(__mips__) || defined(MIPS) || defined(_MIPS_)) \ - && defined(_ABIO32) + && (defined(_ABIO32) || defined(_ABIN32)) #define WTF_CPU_MIPS 1 #if defined(__MIPSEB__) #define WTF_CPU_BIG_ENDIAN 1 @@ -1009,9 +1010,9 @@ #define ENABLE_JIT 0 #endif -/* The JIT is enabled by default on all x86, x64-64, ARM & MIPS platforms. */ +/* The JIT is enabled by default on all x86, x64-64, ARM & MIPS O32 platforms. */ #if !defined(ENABLE_JIT) \ - && (CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(MIPS)) \ + && (CPU(X86) || CPU(X86_64) || CPU(ARM) || (CPU(MIPS) && defined(_ABIO32))) \ && (OS(DARWIN) || !COMPILER(GCC) || GCC_VERSION_AT_LEAST(4, 1, 0)) \ && !OS(WINCE) #define ENABLE_JIT 1