12 lines
508 B
Diff
12 lines
508 B
Diff
|
--- Source/JavaScriptCore/wtf/Platform.h 2011-01-11 02:07:11.000000000 +0100
|
||
|
+++ Source/JavaScriptCore/wtf/Platform.h-gil 2011-01-26 09:59:21.000000000 +0100
|
||
|
@@ -1036,7 +1036,7 @@
|
||
|
#endif
|
||
|
/* Setting this flag prevents the assembler from using RWX memory; this may improve
|
||
|
security but currectly comes at a significant performance cost. */
|
||
|
-#if PLATFORM(IOS)
|
||
|
+#if PLATFORM(IOS) || PLATFORM(X86) || PLATFORM(X86_64)
|
||
|
#define ENABLE_ASSEMBLER_WX_EXCLUSIVE 1
|
||
|
#else
|
||
|
#define ENABLE_ASSEMBLER_WX_EXCLUSIVE 0
|