| Index: src/harmony-typedarray.js
|
| diff --git a/src/harmony-typedarray.js b/src/harmony-typedarray.js
|
| index 94d5f9a981396ff4344358250c0e2a3a14690a03..9d66e211e9800f97a3e6b3f4508d1e461333e4c7 100644
|
| --- a/src/harmony-typedarray.js
|
| +++ b/src/harmony-typedarray.js
|
| @@ -277,7 +277,7 @@ function TypedArrayToLocaleString() {
|
|
|
| // ES6 section 22.2.3.28
|
| function TypedArrayToString() {
|
| - return %_CallFunction(this, ArrayToString);
|
| + return %_Call(ArrayToString, this);
|
| }
|
|
|
|
|
| @@ -372,7 +372,7 @@ function TypedArrayOf() {
|
| function TypedArrayFrom(source, mapfn, thisArg) {
|
| // TODO(littledan): Investigate if there is a receiver which could be
|
| // faster to accumulate on than Array, e.g., a TypedVector.
|
| - var array = %_CallFunction(GlobalArray, source, mapfn, thisArg, ArrayFrom);
|
| + var array = %_Call(ArrayFrom, GlobalArray, source, mapfn, thisArg);
|
| return ConstructTypedArray(this, array);
|
| }
|
| %FunctionSetLength(TypedArrayFrom, 1);
|
|
|