Index: src/js/typedarray.js |
diff --git a/src/js/typedarray.js b/src/js/typedarray.js |
index 7df43779197a8dcb4dabdc1a82bc1212436fff29..3777507235ef603a74c655a6f52560d4259d510f 100644 |
--- a/src/js/typedarray.js |
+++ b/src/js/typedarray.js |
@@ -20,7 +20,6 @@ var GlobalArray = global.Array; |
var GlobalArrayBuffer = global.ArrayBuffer; |
var GlobalArrayBufferPrototype = GlobalArrayBuffer.prototype; |
var GlobalObject = global.Object; |
-var InnerArrayCopyWithin; |
var InnerArrayEvery; |
var InnerArrayFill; |
var InnerArrayFilter; |
@@ -68,7 +67,6 @@ utils.Import(function(from) { |
ArrayValues = from.ArrayValues; |
GetIterator = from.GetIterator; |
GetMethod = from.GetMethod; |
- InnerArrayCopyWithin = from.InnerArrayCopyWithin; |
InnerArrayEvery = from.InnerArrayEvery; |
InnerArrayFill = from.InnerArrayFill; |
InnerArrayFilter = from.InnerArrayFilter; |
@@ -437,17 +435,6 @@ function TypedArrayGetToStringTag() { |
} |
-function TypedArrayCopyWithin(target, start, end) { |
- if (!IS_TYPEDARRAY(this)) throw %make_type_error(kNotTypedArray); |
- |
- var length = %_TypedArrayGetLength(this); |
- |
- // TODO(littledan): Replace with a memcpy for better performance |
- return InnerArrayCopyWithin(target, start, end, this, length); |
-} |
-%FunctionSetLength(TypedArrayCopyWithin, 2); |
- |
- |
// ES6 draft 05-05-15, section 22.2.3.7 |
function TypedArrayEvery(f, receiver) { |
if (!IS_TYPEDARRAY(this)) throw %make_type_error(kNotTypedArray); |
@@ -857,7 +844,6 @@ utils.InstallGetter(GlobalTypedArray.prototype, toStringTagSymbol, |
utils.InstallFunctions(GlobalTypedArray.prototype, DONT_ENUM, [ |
"subarray", TypedArraySubArray, |
"set", TypedArraySet, |
- "copyWithin", TypedArrayCopyWithin, |
"every", TypedArrayEvery, |
"fill", TypedArrayFill, |
"filter", TypedArrayFilter, |