| Index: src/harmony-array.js
|
| diff --git a/src/harmony-array.js b/src/harmony-array.js
|
| index b24caff9a9f3cd1129d264cf3f7581ad40a39056..2e87d5f637449399549fedbb960caf59d2560390 100644
|
| --- a/src/harmony-array.js
|
| +++ b/src/harmony-array.js
|
| @@ -173,7 +173,7 @@ function ArrayFill(value /* [, start [, end ] ] */) { // length == 1
|
| if (end > length) end = length;
|
| }
|
|
|
| - if ((end - i) > 0 && ObjectIsFrozen(array)) {
|
| + if ((end - i) > 0 && $objectIsFrozen(array)) {
|
| throw MakeTypeError(kArrayFunctionsOnFrozen);
|
| }
|
|
|
| @@ -197,7 +197,7 @@ function ArrayFrom(arrayLike, mapfn, receiver) {
|
| }
|
| }
|
|
|
| - var iterable = GetMethod(items, symbolIterator);
|
| + var iterable = $getMethod(items, symbolIterator);
|
| var k;
|
| var result;
|
| var mappedValue;
|
| @@ -206,7 +206,7 @@ function ArrayFrom(arrayLike, mapfn, receiver) {
|
| if (!IS_UNDEFINED(iterable)) {
|
| result = %IsConstructor(this) ? new this() : [];
|
|
|
| - var iterator = GetIterator(items, iterable);
|
| + var iterator = $getIterator(items, iterable);
|
|
|
| k = 0;
|
| while (true) {
|
| @@ -263,7 +263,7 @@ function ArrayOf() {
|
|
|
| // -------------------------------------------------------------------
|
|
|
| -InstallConstants(GlobalSymbol, [
|
| +$installConstants(GlobalSymbol, [
|
| // TODO(dslomov, caitp): Move to symbol.js when shipping
|
| "isConcatSpreadable", symbolIsConcatSpreadable
|
| ]);
|
| @@ -272,13 +272,13 @@ InstallConstants(GlobalSymbol, [
|
| %FunctionSetLength(ArrayFrom, 1);
|
|
|
| // Set up non-enumerable functions on the Array object.
|
| -InstallFunctions(GlobalArray, DONT_ENUM, [
|
| +$installFunctions(GlobalArray, DONT_ENUM, [
|
| "from", ArrayFrom,
|
| "of", ArrayOf
|
| ]);
|
|
|
| // Set up the non-enumerable functions on the Array prototype object.
|
| -InstallFunctions(GlobalArray.prototype, DONT_ENUM, [
|
| +$installFunctions(GlobalArray.prototype, DONT_ENUM, [
|
| "copyWithin", ArrayCopyWithin,
|
| "find", ArrayFind,
|
| "findIndex", ArrayFindIndex,
|
|
|