Title: [265030] trunk/Source/_javascript_Core
Revision
265030
Author
[email protected]
Date
2020-07-28 23:18:50 -0700 (Tue, 28 Jul 2020)

Log Message

[JSC] Add hasCustomGetterSetterProperties to canAccessPropertiesQuicklyForEnumeration
https://bugs.webkit.org/show_bug.cgi?id=214908
<rdar://problem/65883816>

Reviewed by Mark Lam.

canAccessPropertiesQuicklyForEnumeration should filter out hasCustomGetterSetterProperties too.

* runtime/Structure.cpp:
(JSC::Structure::canAccessPropertiesQuicklyForEnumeration const):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (265029 => 265030)


--- trunk/Source/_javascript_Core/ChangeLog	2020-07-29 05:37:15 UTC (rev 265029)
+++ trunk/Source/_javascript_Core/ChangeLog	2020-07-29 06:18:50 UTC (rev 265030)
@@ -1,3 +1,16 @@
+2020-07-28  Yusuke Suzuki  <[email protected]>
+
+        [JSC] Add hasCustomGetterSetterProperties to canAccessPropertiesQuicklyForEnumeration
+        https://bugs.webkit.org/show_bug.cgi?id=214908
+        <rdar://problem/65883816>
+
+        Reviewed by Mark Lam.
+
+        canAccessPropertiesQuicklyForEnumeration should filter out hasCustomGetterSetterProperties too.
+
+        * runtime/Structure.cpp:
+        (JSC::Structure::canAccessPropertiesQuicklyForEnumeration const):
+
 2020-07-28  Caitlin Potter  <[email protected]>
 
         [JSC] add IC support for op_get_private_name

Modified: trunk/Source/_javascript_Core/runtime/Structure.cpp (265029 => 265030)


--- trunk/Source/_javascript_Core/runtime/Structure.cpp	2020-07-29 05:37:15 UTC (rev 265029)
+++ trunk/Source/_javascript_Core/runtime/Structure.cpp	2020-07-29 06:18:50 UTC (rev 265030)
@@ -1391,6 +1391,8 @@
         return false;
     if (hasGetterSetterProperties())
         return false;
+    if (hasCustomGetterSetterProperties())
+        return false;
     if (isUncacheableDictionary())
         return false;
     return true;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to