Reviewers: marja,

Message:
Speeds up the test a little...not sure if the timeouts will go away on the
buildbot.

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

[email protected]
BUG=

Please review this at https://codereview.chromium.org/889293003/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+2, -2 lines):
  M test/mjsunit/compiler/osr-forin.js
  M test/mjsunit/compiler/osr-forof.js


Index: test/mjsunit/compiler/osr-forin.js
diff --git a/test/mjsunit/compiler/osr-forin.js b/test/mjsunit/compiler/osr-forin.js index c02c535f80fdfa040b964ccbeef0e716cccec665..8d1678224c60304cb216ef2265fb9d61d15a8c0c 100644
--- a/test/mjsunit/compiler/osr-forin.js
+++ b/test/mjsunit/compiler/osr-forin.js
@@ -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;
 }
Index: test/mjsunit/compiler/osr-forof.js
diff --git a/test/mjsunit/compiler/osr-forof.js b/test/mjsunit/compiler/osr-forof.js index c17387699c4c21f3412b08b3bfa6d21a8acb3b32..36bff09c58eb814e986906494771d8c45dffcfd9 100644
--- a/test/mjsunit/compiler/osr-forof.js
+++ b/test/mjsunit/compiler/osr-forof.js
@@ -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;
 }


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to