Title: [244959] trunk/JSTests
- Revision
- 244959
- Author
- ysuz...@apple.com
- Date
- 2019-05-06 00:04:58 -0700 (Mon, 06 May 2019)
Log Message
[JSC] Add more tests for DFG SetLocal emission for adhoc SetterCall frame
https://bugs.webkit.org/show_bug.cgi?id=197587
Reviewed by Sam Weinig.
This patch adds more tests to r244939. It also inlines setter calls, and eventually see that no PutStack is emitted because MovHint's KillStack kills it.
* stress/adhoc-setter-frame-should-not-be-killed.js: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/JSTests/ChangeLog (244958 => 244959)
--- trunk/JSTests/ChangeLog 2019-05-06 05:18:39 UTC (rev 244958)
+++ trunk/JSTests/ChangeLog 2019-05-06 07:04:58 UTC (rev 244959)
@@ -1,3 +1,14 @@
+2019-05-06 Yusuke Suzuki <ysuz...@apple.com>
+
+ [JSC] Add more tests for DFG SetLocal emission for adhoc SetterCall frame
+ https://bugs.webkit.org/show_bug.cgi?id=197587
+
+ Reviewed by Sam Weinig.
+
+ This patch adds more tests to r244939. It also inlines setter calls, and eventually see that no PutStack is emitted because MovHint's KillStack kills it.
+
+ * stress/adhoc-setter-frame-should-not-be-killed.js: Added.
+
2019-05-04 Tadeu Zagallo <tzaga...@apple.com>
TypedArrays should not store properties that are canonical numeric indices
Added: trunk/JSTests/stress/adhoc-setter-frame-should-not-be-killed.js (0 => 244959)
--- trunk/JSTests/stress/adhoc-setter-frame-should-not-be-killed.js (rev 0)
+++ trunk/JSTests/stress/adhoc-setter-frame-should-not-be-killed.js 2019-05-06 07:04:58 UTC (rev 244959)
@@ -0,0 +1,7 @@
+let o = {};
+o.__defineSetter__('f', function(a) {
+ arguments = a;
+});
+for (let i = 0; i<1000000; i++) {
+ o.f = 0
+}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes