Commit e0c7d3cf authored by ricow@chromium.org's avatar ricow@chromium.org

Run array-length less times to make the builder green.

We still get this method optimized even without --always-opt flag.
Review URL: http://codereview.chromium.org/6719029

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7381 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 1ae2ea08
......@@ -36,7 +36,7 @@ function Test(a0, a2, a5) {
var a0 = [];
var a2 = [1,2];
var a5 = [1,2,3,4,5];
for (var i = 0; i < 10000000; i++) Test(a0, a2, a5);
for (var i = 0; i < 100000; i++) Test(a0, a2, a5);
assertEquals("undefined", typeof(ArrayLength(0)));
for (var i = 0; i < 10000000; i++) Test(a0, a2, a5);
for (var i = 0; i < 100000; i++) Test(a0, a2, a5);
assertEquals(4, ArrayLength("hest"));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment