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):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108687
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-02-23 Filip Pizlo <fpizlo@apple.com>
+
+ 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 <enne@google.com>
[chromium] Unreviewed gardening. Mark two fast/files/ tests as non-flaky.
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);
}
}
function makeInlinableCall(o) {
- for (var i = 0; i < 10000; i++)
+ for (var i = 0; i < 1000; i++)
o.inlineable();
}