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

Unified Diff: test/mjsunit/compiler/osr-forin.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 | « no previous file | test/mjsunit/compiler/osr-forof.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « no previous file | test/mjsunit/compiler/osr-forof.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698