Title: [229301] trunk/Source/WTF
- Revision
- 229301
- Author
- msab...@apple.com
- Date
- 2018-03-05 18:34:09 -0800 (Mon, 05 Mar 2018)
Log Message
Start using MAP_JIT for macOS
https://bugs.webkit.org/show_bug.cgi?id=183353
Reviewed by Filip Pizlo.
Unify setting this flag for both iOS and macOS.
* wtf/OSAllocatorPosix.cpp:
(WTF::OSAllocator::reserveAndCommit):
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (229300 => 229301)
--- trunk/Source/WTF/ChangeLog 2018-03-06 02:15:56 UTC (rev 229300)
+++ trunk/Source/WTF/ChangeLog 2018-03-06 02:34:09 UTC (rev 229301)
@@ -1,3 +1,15 @@
+2018-03-05 Michael Saboff <msab...@apple.com>
+
+ Start using MAP_JIT for macOS
+ https://bugs.webkit.org/show_bug.cgi?id=183353
+
+ Reviewed by Filip Pizlo.
+
+ Unify setting this flag for both iOS and macOS.
+
+ * wtf/OSAllocatorPosix.cpp:
+ (WTF::OSAllocator::reserveAndCommit):
+
2018-03-05 Yusuke Suzuki <utatane....@gmail.com>
Unreviewed, follow-up after r229209
Modified: trunk/Source/WTF/wtf/OSAllocatorPosix.cpp (229300 => 229301)
--- trunk/Source/WTF/wtf/OSAllocatorPosix.cpp 2018-03-06 02:15:56 UTC (rev 229300)
+++ trunk/Source/WTF/wtf/OSAllocatorPosix.cpp 2018-03-06 02:34:09 UTC (rev 229301)
@@ -71,7 +71,7 @@
protection |= PROT_EXEC;
int flags = MAP_PRIVATE | MAP_ANON;
-#if PLATFORM(IOS)
+#if OS(DARWIN)
if (executable)
flags |= MAP_JIT;
#endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes