Speed up tests for OSR of for-in and for-of loops.

R=marja@chromium.org
BUG=

Review URL: https://codereview.chromium.org/889293003

Cr-Commit-Position: refs/heads/master@{#26378}
This commit is contained in:
titzer 2015-02-02 03:51:55 -08:00 committed by Commit bot
parent 81091e62b9
commit 79cad15cb0
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ function f(a) {
return sum;
}
var a = new Array();
var a = new Array(10000);
for (var i = 0; i < 10000; i++) {
a[i] = (i * 999) % 77;
}

View File

@ -15,7 +15,7 @@ function f(a) {
return sum;
}
var a = new Array();
var a = new Array(10000);
for (var i = 0; i < 10000; i++) {
a[i] = (i * 999) % 77;
}