Title: [108687] trunk/LayoutTests
Revision
108687
Author
[email protected]
Date
2012-02-23 15:50:39 -0800 (Thu, 23 Feb 2012)

Log Message

Make fast/js/script-tests/dfg-inline-function-dot-caller not timeout.

Rubber stamped by Oliver Hunt.
        
Verified that the test still causes inlining to happen and still passes but
otherwise reduced the loops to take an order of magnitude fewer iterations.

* fast/js/script-tests/dfg-inline-function-dot-caller.js:
(object.nonInlineable.nonInlineable.if):
(object.nonInlineable):
(makeInlinableCall):

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (108686 => 108687)


--- trunk/LayoutTests/ChangeLog	2012-02-23 23:44:22 UTC (rev 108686)
+++ trunk/LayoutTests/ChangeLog	2012-02-23 23:50:39 UTC (rev 108687)
@@ -1,3 +1,17 @@
+2012-02-23  Filip Pizlo  <[email protected]>
+
+        Make fast/js/script-tests/dfg-inline-function-dot-caller not timeout.
+
+        Rubber stamped by Oliver Hunt.
+        
+        Verified that the test still causes inlining to happen and still passes but
+        otherwise reduced the loops to take an order of magnitude fewer iterations.
+
+        * fast/js/script-tests/dfg-inline-function-dot-caller.js:
+        (object.nonInlineable.nonInlineable.if):
+        (object.nonInlineable):
+        (makeInlinableCall):
+
 2012-02-23  Adrienne Walker  <[email protected]>
 
         [chromium] Unreviewed gardening. Mark two fast/files/ tests as non-flaky.

Modified: trunk/LayoutTests/fast/js/script-tests/dfg-inline-function-dot-caller.js (108686 => 108687)


--- trunk/LayoutTests/fast/js/script-tests/dfg-inline-function-dot-caller.js	2012-02-23 23:44:22 UTC (rev 108686)
+++ trunk/LayoutTests/fast/js/script-tests/dfg-inline-function-dot-caller.js	2012-02-23 23:50:39 UTC (rev 108687)
@@ -12,7 +12,7 @@
 var object = {
    nonInlineable : function nonInlineable() {
        if (0) return [arguments, function(){}];
-       if (++callCount == 9999999) {
+       if (++callCount == 999999) {
            var f = nonInlineable;
            while (f) {
                resultArray.push(f.name);
@@ -25,7 +25,7 @@
    }
 }
 function makeInlinableCall(o) {
-   for (var i = 0; i < 10000; i++)
+   for (var i = 0; i < 1000; i++)
        o.inlineable();
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to