diff options
Diffstat (limited to 'deps/v8/src/js/typedarray.js')
-rw-r--r-- | deps/v8/src/js/typedarray.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/src/js/typedarray.js b/deps/v8/src/js/typedarray.js index 2c25b6c58a1..65662c8083e 100644 --- a/deps/v8/src/js/typedarray.js +++ b/deps/v8/src/js/typedarray.js @@ -53,7 +53,7 @@ utils.Import(function(from) { function ValidateTypedArray(array, methodName) { if (!IS_TYPEDARRAY(array)) throw %make_type_error(kNotTypedArray); - if (%_ArrayBufferViewWasNeutered(array)) + if (%ArrayBufferViewWasNeutered(array)) throw %make_type_error(kDetachedOperation, methodName); } @@ -67,7 +67,7 @@ DEFINE_METHOD( var locales = arguments[0]; var options = arguments[1]; - var length = %_TypedArrayGetLength(this); + var length = %TypedArrayGetLength(this); return InnerArrayToLocaleString(this, length, locales, options); } ); @@ -79,7 +79,7 @@ DEFINE_METHOD( join(separator) { ValidateTypedArray(this, "%TypedArray%.prototype.join"); - var length = %_TypedArrayGetLength(this); + var length = %TypedArrayGetLength(this); return InnerArrayJoin(separator, this, length); } |