Title: [245264] trunk/Source/WTF
- Revision
- 245264
- Author
- [email protected]
- Date
- 2019-05-13 16:43:09 -0700 (Mon, 13 May 2019)
Log Message
Unreviewed, wrokaround for MACH_VM_MAX_ADDRESS in ARM32_64
https://bugs.webkit.org/show_bug.cgi?id=197730
Interestingly, MACH_VM_MAX_ADDRESS is larger than 32bit in ARM32_64, I think this is a bug.
But for now, we workaround for this case by using `CPU(ADDRESS64)`.
* wtf/WTFAssertions.cpp:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (245263 => 245264)
--- trunk/Source/WTF/ChangeLog 2019-05-13 23:11:25 UTC (rev 245263)
+++ trunk/Source/WTF/ChangeLog 2019-05-13 23:43:09 UTC (rev 245264)
@@ -1,5 +1,15 @@
2019-05-13 Yusuke Suzuki <[email protected]>
+ Unreviewed, wrokaround for MACH_VM_MAX_ADDRESS in ARM32_64
+ https://bugs.webkit.org/show_bug.cgi?id=197730
+
+ Interestingly, MACH_VM_MAX_ADDRESS is larger than 32bit in ARM32_64, I think this is a bug.
+ But for now, we workaround for this case by using `CPU(ADDRESS64)`.
+
+ * wtf/WTFAssertions.cpp:
+
+2019-05-13 Yusuke Suzuki <[email protected]>
+
[WTF] Remove Threading workaround for support libraries in Windows
https://bugs.webkit.org/show_bug.cgi?id=197350
Modified: trunk/Source/WTF/wtf/WTFAssertions.cpp (245263 => 245264)
--- trunk/Source/WTF/wtf/WTFAssertions.cpp 2019-05-13 23:11:25 UTC (rev 245263)
+++ trunk/Source/WTF/wtf/WTFAssertions.cpp 2019-05-13 23:43:09 UTC (rev 245264)
@@ -48,7 +48,7 @@
static_assert(sizeof(RefCountedArray<DummyStruct>) == sizeof(void*), "");
-#if OS(DARWIN)
+#if OS(DARWIN) && CPU(ADDRESS64)
static_assert(MACH_VM_MAX_ADDRESS <= ((1ULL << WTF_CPU_EFFECTIVE_ADDRESS_WIDTH) - 1));
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes