Index: src/js/iterator-prototype.js |
diff --git a/src/js/iterator-prototype.js b/src/js/iterator-prototype.js |
index 2f49d90b1c97baa9fd39723f5e559e426843bc07..6f2501979d07c03e4787494fcbfcd53f21947b05 100644 |
--- a/src/js/iterator-prototype.js |
+++ b/src/js/iterator-prototype.js |
@@ -2,13 +2,12 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-var $iteratorPrototype; |
- |
(function(global, utils) { |
"use strict"; |
%CheckIsBootstrapping(); |
var GlobalObject = global.Object; |
+ var IteratorPrototype = utils.ImportNow("IteratorPrototype"); |
var iteratorSymbol = utils.ImportNow("iterator_symbol"); |
// 25.1.2.1 %IteratorPrototype% [ @@iterator ] ( ) |
@@ -17,6 +16,6 @@ var $iteratorPrototype; |
} |
utils.SetFunctionName(IteratorPrototypeIterator, iteratorSymbol); |
- %AddNamedProperty($iteratorPrototype, iteratorSymbol, |
+ %AddNamedProperty(IteratorPrototype, iteratorSymbol, |
IteratorPrototypeIterator, DONT_ENUM); |
}) |