Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(676)

Unified Diff: test/mjsunit/compiler/osr-forof.js

Issue 889293003: Speed up tests for OSR of for-in and for-of loops. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/compiler/osr-forin.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « test/mjsunit/compiler/osr-forin.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698