Index: src/debug/mirrors.js |
diff --git a/src/debug/mirrors.js b/src/debug/mirrors.js |
index 8096f2c54e00607c6dc7697bb6902e297ad86c7b..b534fecdc41bb4e741dd374802e61e58a931318a 100644 |
--- a/src/debug/mirrors.js |
+++ b/src/debug/mirrors.js |
@@ -11,10 +11,17 @@ |
var GlobalArray = global.Array; |
var IsNaN = global.isNaN; |
var JSONStringify = global.JSON.stringify; |
-var MapEntries = global.Map.prototype.entries; |
-var MapIteratorNext = (new global.Map).entries().next; |
-var SetIteratorNext = (new global.Set).values().next; |
-var SetValues = global.Set.prototype.values; |
+var MapEntries; |
+var MapIteratorNext; |
+var SetIteratorNext; |
+var SetValues; |
+ |
+utils.Import(function(from) { |
+ MapEntries = from.MapEntries; |
+ MapIteratorNext = from.MapIteratorNext; |
+ SetIteratorNext = from.SetIteratorNext; |
+ SetValues = from.SetValues; |
+}); |
// ---------------------------------------------------------------------------- |