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); |