Title: [264718] trunk/Tools
Revision
264718
Author
[email protected]
Date
2020-07-22 12:00:40 -0700 (Wed, 22 Jul 2020)

Log Message

TestWTF.WTF_Packed.PackedAlignedPtr should be adjusted because ARM macOS is using 48 bits for effective address width
https://bugs.webkit.org/show_bug.cgi?id=214633

Reviewed by Mark Lam.

While PlatformOS.h's condition is updated, the test is not changed. This patch just aligns the condition used in this test
to the one in PlatformOS.h.

* TestWebKitAPI/Tests/WTF/Packed.cpp:
(TestWebKitAPI::TEST):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (264717 => 264718)


--- trunk/Tools/ChangeLog	2020-07-22 18:59:45 UTC (rev 264717)
+++ trunk/Tools/ChangeLog	2020-07-22 19:00:40 UTC (rev 264718)
@@ -1,3 +1,16 @@
+2020-07-22  Yusuke Suzuki  <[email protected]>
+
+        TestWTF.WTF_Packed.PackedAlignedPtr should be adjusted because ARM macOS is using 48 bits for effective address width
+        https://bugs.webkit.org/show_bug.cgi?id=214633
+
+        Reviewed by Mark Lam.
+
+        While PlatformOS.h's condition is updated, the test is not changed. This patch just aligns the condition used in this test
+        to the one in PlatformOS.h.
+
+        * TestWebKitAPI/Tests/WTF/Packed.cpp:
+        (TestWebKitAPI::TEST):
+
 2020-07-22  Jonathan Bedard  <[email protected]>
 
         [webkitcorepy] Add string_utils (Part 1)

Modified: trunk/Tools/TestWebKitAPI/Tests/WTF/Packed.cpp (264717 => 264718)


--- trunk/Tools/TestWebKitAPI/Tests/WTF/Packed.cpp	2020-07-22 18:59:45 UTC (rev 264717)
+++ trunk/Tools/TestWebKitAPI/Tests/WTF/Packed.cpp	2020-07-22 19:00:40 UTC (rev 264718)
@@ -91,7 +91,7 @@
     }
     {
         PackedAlignedPtr<uint8_t, 16> key { nullptr };
-#if OS(DARWIN) && CPU(ARM64)
+#if (OS(IOS) || OS(TVOS) || OS(WATCHOS)) && CPU(ARM64)
         EXPECT_EQ(sizeof(key), 4U);
 #else
         EXPECT_LE(sizeof(key), 6U);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to