Index: src/array-iterator.js |
diff --git a/src/array-iterator.js b/src/array-iterator.js |
index 9698a07b0442eb5e83b330fd73206963fa5619d1..7c71e2810008b841eadb7320d365e7f00854b341 100644 |
--- a/src/array-iterator.js |
+++ b/src/array-iterator.js |
@@ -10,6 +10,15 @@ var $arrayValues; |
%CheckIsBootstrapping(); |
+// ----------------------------------------------------------------------- |
+// Imports |
+ |
+var arrayIterationKindSymbol = |
+ utils.GetPrivateSymbol("array_iteration_kind_symbol"); |
+var arrayIteratorNextIndexSymbol = |
+ utils.GetPrivateSymbol("array_iterator_next_symbol"); |
+var arrayIteratorObjectSymbol = |
+ utils.GetPrivateSymbol("array_iterator_object_symbol"); |
var GlobalArray = global.Array; |
macro TYPED_ARRAYS(FUNCTION) |
@@ -30,10 +39,7 @@ endmacro |
TYPED_ARRAYS(COPY_FROM_GLOBAL) |
-var arrayIteratorObjectSymbol = GLOBAL_PRIVATE("ArrayIterator#object"); |
-var arrayIteratorNextIndexSymbol = GLOBAL_PRIVATE("ArrayIterator#next"); |
-var arrayIterationKindSymbol = GLOBAL_PRIVATE("ArrayIterator#kind"); |
- |
+// ----------------------------------------------------------------------- |
function ArrayIterator() {} |