Title: [276583] trunk/Source/WTF
- Revision
- 276583
- Author
- ange...@igalia.com
- Date
- 2021-04-26 02:04:01 -0700 (Mon, 26 Apr 2021)
Log Message
Bump CeilingOnPageSize to 16KB on MIPS
https://bugs.webkit.org/show_bug.cgi?id=225030
Reviewed by Michael Catanzaro.
* wtf/PageBlock.h:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (276582 => 276583)
--- trunk/Source/WTF/ChangeLog 2021-04-26 08:21:31 UTC (rev 276582)
+++ trunk/Source/WTF/ChangeLog 2021-04-26 09:04:01 UTC (rev 276583)
@@ -1,3 +1,12 @@
+2021-04-26 Angelos Oikonomopoulos <ange...@igalia.com>
+
+ Bump CeilingOnPageSize to 16KB on MIPS
+ https://bugs.webkit.org/show_bug.cgi?id=225030
+
+ Reviewed by Michael Catanzaro.
+
+ * wtf/PageBlock.h:
+
2021-04-25 Darin Adler <da...@apple.com>
Fix handling of overflow of /= and *= operators with double over Checked<uint64_t> and other 64-bit types.
Modified: trunk/Source/WTF/wtf/PageBlock.h (276582 => 276583)
--- trunk/Source/WTF/wtf/PageBlock.h 2021-04-26 08:21:31 UTC (rev 276582)
+++ trunk/Source/WTF/wtf/PageBlock.h 2021-04-26 09:04:01 UTC (rev 276583)
@@ -47,11 +47,11 @@
// 64 KiB. (Apple uses 16 KiB.)
//
// Use 64 KiB for any unknown CPUs to be conservative.
-#if OS(DARWIN) || PLATFORM(PLAYSTATION)
+#if OS(DARWIN) || PLATFORM(PLAYSTATION) || CPU(MIPS)
constexpr size_t CeilingOnPageSize = 16 * KB;
#elif USE(64KB_PAGE_BLOCK) || CPU(PPC) || CPU(PPC64) || CPU(PPC64LE) || CPU(UNKNOWN)
constexpr size_t CeilingOnPageSize = 64 * KB;
-#elif OS(WINDOWS) || CPU(MIPS) || CPU(MIPS64) || CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64)
+#elif OS(WINDOWS) || CPU(MIPS64) || CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64)
constexpr size_t CeilingOnPageSize = 4 * KB;
#else
#error Must set CeilingOnPageSize in PageBlock.h when adding a new CPU architecture!
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes