| Index: src/harmony-typedarray.js
|
| diff --git a/src/harmony-typedarray.js b/src/harmony-typedarray.js
|
| index cd220dae832e2e1dfdc9480b979951e53f2c27b6..94d5f9a981396ff4344358250c0e2a3a14690a03 100644
|
| --- a/src/harmony-typedarray.js
|
| +++ b/src/harmony-typedarray.js
|
| @@ -215,7 +215,7 @@ function TypedArraySort(comparefn) {
|
| comparefn = TypedArrayComparefn;
|
| }
|
|
|
| - return %_CallFunction(this, length, comparefn, InnerArraySort);
|
| + return InnerArraySort(this, length, comparefn);
|
| }
|
|
|
|
|
| @@ -224,8 +224,7 @@ function TypedArrayIndexOf(element, index) {
|
| if (!%_IsTypedArray(this)) throw MakeTypeError(kNotTypedArray);
|
|
|
| var length = %_TypedArrayGetLength(this);
|
| -
|
| - return %_CallFunction(this, element, index, length, InnerArrayIndexOf);
|
| + return InnerArrayIndexOf(this, element, index, length);
|
| }
|
| %FunctionSetLength(TypedArrayIndexOf, 1);
|
|
|
| @@ -236,8 +235,8 @@ function TypedArrayLastIndexOf(element, index) {
|
|
|
| var length = %_TypedArrayGetLength(this);
|
|
|
| - return %_CallFunction(this, element, index, length,
|
| - %_ArgumentsLength(), InnerArrayLastIndexOf);
|
| + return InnerArrayLastIndexOf(this, element, index, length,
|
| + %_ArgumentsLength());
|
| }
|
| %FunctionSetLength(TypedArrayLastIndexOf, 1);
|
|
|
|
|