Title: [290210] trunk
Revision
290210
Author
[email protected]
Date
2022-02-19 09:51:44 -0800 (Sat, 19 Feb 2022)

Log Message

Unreviewed, use ArrayWithUndecided in ArrayPrototype
https://bugs.webkit.org/show_bug.cgi?id=236869

JSTests:

* stress/array-prototype-concat.js: Added.

Source/_javascript_Core:

* runtime/ArrayPrototype.h:

Modified Paths

Added Paths

Diff

Modified: trunk/JSTests/ChangeLog (290209 => 290210)


--- trunk/JSTests/ChangeLog	2022-02-19 17:43:14 UTC (rev 290209)
+++ trunk/JSTests/ChangeLog	2022-02-19 17:51:44 UTC (rev 290210)
@@ -1,3 +1,10 @@
+2022-02-19  Yusuke Suzuki  <[email protected]>
+
+        Unreviewed, use ArrayWithUndecided in ArrayPrototype
+        https://bugs.webkit.org/show_bug.cgi?id=236869
+
+        * stress/array-prototype-concat.js: Added.
+
 2022-02-19  Dean Jackson  <[email protected]>
 
         [JSC] Implement Temporal.PlainDate

Added: trunk/JSTests/stress/array-prototype-concat.js (0 => 290210)


--- trunk/JSTests/stress/array-prototype-concat.js	                        (rev 0)
+++ trunk/JSTests/stress/array-prototype-concat.js	2022-02-19 17:51:44 UTC (rev 290210)
@@ -0,0 +1 @@
+Array.prototype.concat();

Modified: trunk/Source/_javascript_Core/ChangeLog (290209 => 290210)


--- trunk/Source/_javascript_Core/ChangeLog	2022-02-19 17:43:14 UTC (rev 290209)
+++ trunk/Source/_javascript_Core/ChangeLog	2022-02-19 17:51:44 UTC (rev 290210)
@@ -1,3 +1,10 @@
+2022-02-19  Yusuke Suzuki  <[email protected]>
+
+        Unreviewed, use ArrayWithUndecided in ArrayPrototype
+        https://bugs.webkit.org/show_bug.cgi?id=236869
+
+        * runtime/ArrayPrototype.h:
+
 2022-02-19  Dean Jackson  <[email protected]>
 
         [JSC] Implement Temporal.PlainDate

Modified: trunk/Source/_javascript_Core/runtime/ArrayPrototype.h (290209 => 290210)


--- trunk/Source/_javascript_Core/runtime/ArrayPrototype.h	2022-02-19 17:43:14 UTC (rev 290209)
+++ trunk/Source/_javascript_Core/runtime/ArrayPrototype.h	2022-02-19 17:51:44 UTC (rev 290210)
@@ -34,7 +34,7 @@
 
     static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype)
     {
-        return Base::createStructure(vm, globalObject, prototype, ArrayClass);
+        return Base::createStructure(vm, globalObject, prototype, ArrayWithUndecided);
     }
 
 private:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to