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

Unified Diff: test/mjsunit/regress/regress-3281.js

Issue 1411653002: Install iterator meta objects via utils object. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: addressed comments Created 5 years, 2 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/harmony/simd.js ('k') | test/mjsunit/regress/regress-403292.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-3281.js
diff --git a/test/mjsunit/regress/regress-3281.js b/test/mjsunit/regress/regress-3281.js
index 7d42c026b6baaa9977b172dada7a5f8203c79588..f7b167e3b887f0fff44756949817668b38349d00 100644
--- a/test/mjsunit/regress/regress-3281.js
+++ b/test/mjsunit/regress/regress-3281.js
@@ -5,8 +5,10 @@
// Flags: --expose-natives-as=builtins
// Should not crash or raise an exception.
+var SetIterator = builtins.ImportNow("SetIterator");
var s = new Set();
-var setIterator = new builtins.SetIterator(s, 2);
+var setIterator = new SetIterator(s, 2);
+var MapIterator = builtins.ImportNow("MapIterator");
var m = new Map();
-var mapIterator = new builtins.MapIterator(m, 2);
+var mapIterator = new MapIterator(m, 2);
« no previous file with comments | « test/mjsunit/harmony/simd.js ('k') | test/mjsunit/regress/regress-403292.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698