Index: src/harmony-typedarray.js |
diff --git a/src/harmony-typedarray.js b/src/harmony-typedarray.js |
index 3968aec84674c57ec46af3388b3fb0109cb2598f..69512ca4b58c1d4b4512db68ea94defef4bcb83e 100644 |
--- a/src/harmony-typedarray.js |
+++ b/src/harmony-typedarray.js |
@@ -64,8 +64,6 @@ |
InnerArrayJoin = from.InnerArrayJoin; |
InnerArrayLastIndexOf = from.InnerArrayLastIndexOf; |
InnerArrayMap = from.InnerArrayMap; |
- InnerArrayReduce = from.InnerArrayReduce; |
- InnerArrayReduceRight = from.InnerArrayReduceRight; |
InnerArrayReverse = from.InnerArrayReverse; |
InnerArraySome = from.InnerArraySome; |
InnerArraySort = from.InnerArraySort; |
@@ -267,13 +265,11 @@ |
return InnerArrayToLocaleString(this, length); |
} |
- |
// ES6 section 22.2.3.28 |
function TypedArrayToString() { |
return %_CallFunction(this, ArrayToString); |
} |
- |
// ES6 section 22.2.3.14 |
function TypedArrayJoin(separator) { |
if (!%IsTypedArray(this)) throw MakeTypeError(kNotTypedArray); |
@@ -282,28 +278,6 @@ |
return InnerArrayJoin(separator, this, length); |
} |
- |
- |
-// ES6 draft 07-15-13, section 22.2.3.19 |
-function TypedArrayReduce(callback, current) { |
- if (!%IsTypedArray(this)) throw MakeTypeError(kNotTypedArray); |
- |
- var length = %_TypedArrayGetLength(this); |
- return InnerArrayReduce(callback, current, this, length, |
- %_ArgumentsLength()); |
-} |
-%FunctionSetLength(TypedArrayReduce, 1); |
- |
- |
-// ES6 draft 07-15-13, section 22.2.3.19 |
-function TypedArrayReduceRight(callback, current) { |
- if (!%IsTypedArray(this)) throw MakeTypeError(kNotTypedArray); |
- |
- var length = %_TypedArrayGetLength(this); |
- return InnerArrayReduceRight(callback, current, this, length, |
- %_ArgumentsLength()); |
-} |
-%FunctionSetLength(TypedArrayReduceRight, 1); |
// ES6 draft 08-24-14, section 22.2.2.2 |
@@ -346,8 +320,6 @@ |
"lastIndexOf", TypedArrayLastIndexOf, |
"forEach", TypedArrayForEach, |
"map", TypedArrayMap, |
- "reduce", TypedArrayReduce, |
- "reduceRight", TypedArrayReduceRight, |
"reverse", TypedArrayReverse, |
"some", TypedArraySome, |
"sort", TypedArraySort, |