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

Unified Diff: test/mjsunit/regress/regress-430201b.js

Issue 1018513003: Set test expectations prior to enabling --turbo-osr. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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/mjsunit.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-430201b.js
diff --git a/test/mjsunit/regress/regress-430201.js b/test/mjsunit/regress/regress-430201b.js
similarity index 86%
copy from test/mjsunit/regress/regress-430201.js
copy to test/mjsunit/regress/regress-430201b.js
index b53383e22e4553ae4c0542d90338b55d20d40dc9..056504d1d717e7cf8d8b7674a78e948b424e13e1 100644
--- a/test/mjsunit/regress/regress-430201.js
+++ b/test/mjsunit/regress/regress-430201b.js
@@ -27,15 +27,17 @@
// Flags: --allow-natives-syntax --expose-gc
-var array_1 = [];
+(function() {
+ var array_1 = [];
-%SetFlags("--stress-compaction");
-for (var a = 0; a < 10000; a++) { array_1[a * 100] = 0; }
+ %SetFlags("--stress-compaction");
+ for (var a = 0; a < 10000; a++) { array_1[a * 100] = 0; }
-gc();
-gc();
+ gc();
+ gc();
-var array_2 = [];
-for (var i = 0; i < 321361; i++) {
- array_2[i] = String.fromCharCode(i)[0];
-}
+ var array_2 = [];
+ for (var i = 0; i < 321361; i++) {
+ array_2[i] = String.fromCharCode(i)[0];
+ }
+})();
« no previous file with comments | « test/mjsunit/mjsunit.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698