Title: [241792] releases/WebKitGTK/webkit-2.24/JSTests
Revision
241792
Author
[email protected]
Date
2019-02-20 04:43:16 -0800 (Wed, 20 Feb 2019)

Log Message

Merge r241661 - Unreviewed, skip the test on platforms without sampling profiler

* stress/sampling-profiler-stack-trace-with-double-quote-in-function-name.js:
(platformSupportsSamplingProfiler.foo):
(platformSupportsSamplingProfiler.test):
(platformSupportsSamplingProfiler):
(foo): Deleted.
(test): Deleted.

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.24/JSTests/ChangeLog (241791 => 241792)


--- releases/WebKitGTK/webkit-2.24/JSTests/ChangeLog	2019-02-20 12:43:11 UTC (rev 241791)
+++ releases/WebKitGTK/webkit-2.24/JSTests/ChangeLog	2019-02-20 12:43:16 UTC (rev 241792)
@@ -1,3 +1,14 @@
+2019-02-18  Tomas Popela  <[email protected]>
+
+        Unreviewed, skip the test on platforms without sampling profiler
+
+        * stress/sampling-profiler-stack-trace-with-double-quote-in-function-name.js:
+        (platformSupportsSamplingProfiler.foo):
+        (platformSupportsSamplingProfiler.test):
+        (platformSupportsSamplingProfiler):
+        (foo): Deleted.
+        (test): Deleted.
+
 2019-02-17  Saam Barati  <[email protected]>
 
         Deadlock when adding a Structure property transition and then doing incremental marking

Modified: releases/WebKitGTK/webkit-2.24/JSTests/stress/sampling-profiler-stack-trace-with-double-quote-in-function-name.js (241791 => 241792)


--- releases/WebKitGTK/webkit-2.24/JSTests/stress/sampling-profiler-stack-trace-with-double-quote-in-function-name.js	2019-02-20 12:43:11 UTC (rev 241791)
+++ releases/WebKitGTK/webkit-2.24/JSTests/stress/sampling-profiler-stack-trace-with-double-quote-in-function-name.js	2019-02-20 12:43:16 UTC (rev 241792)
@@ -1,20 +1,21 @@
 //@ runDefault("--useConcurrentJIT=false")
+if (platformSupportsSamplingProfiler()) {
+    function foo() {
+        let obj = {};
+        for (let i = 0; i < 10; ++i)
+              obj[i + 'p'] = i;
+    }
+    noInline(foo);
 
-function foo() {
-    let obj = {};                                                                
-    for (let i = 0; i < 10; ++i)                                      
-          obj[i + 'p'] = i;                                              
-}
-noInline(foo);
+    function test() {
+        for (let i = 0; i < 1000; ++i) {
+            foo();
+            let stacktraces = samplingProfilerStackTraces();
+            for (let stackTrace of stacktraces) { }
+        }
+    }
 
-function test() {
-    for (let i = 0; i < 1000; ++i) {
-        foo();
-        let stacktraces = samplingProfilerStackTraces();
-        for (let stackTrace of stacktraces) { }
-    }
+    startSamplingProfiler();
+    foo.displayName = '"';
+    test();
 }
-
-startSamplingProfiler();
-foo.displayName = '"';
-test();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to