| Index: src/js/typedarray.js
|
| diff --git a/src/js/typedarray.js b/src/js/typedarray.js
|
| index fd668a57fddceb2222d31d91ccad806dc5395bc8..7becd8947a5a9161b1584d3f1e2bfd93a223d7d3 100644
|
| --- a/src/js/typedarray.js
|
| +++ b/src/js/typedarray.js
|
| @@ -460,6 +460,7 @@ function TypedArraySet(obj, offset) {
|
| return;
|
| }
|
| }
|
| +%FunctionSetLength(TypedArraySet, 1);
|
|
|
| function TypedArrayGetToStringTag() {
|
| if (!%_IsTypedArray(this)) return;
|
| @@ -921,6 +922,7 @@ function DataViewGetTYPENAMEJS(offset, little_endian) {
|
| offset = ToPositiveInteger(offset, kInvalidDataViewAccessorOffset);
|
| return %DataViewGetTYPENAME(this, offset, !!little_endian);
|
| }
|
| +%FunctionSetLength(DataViewGetTYPENAMEJS, 1);
|
|
|
| function DataViewSetTYPENAMEJS(offset, value, little_endian) {
|
| if (!IS_DATAVIEW(this)) {
|
| @@ -931,6 +933,7 @@ function DataViewSetTYPENAMEJS(offset, value, little_endian) {
|
| offset = ToPositiveInteger(offset, kInvalidDataViewAccessorOffset);
|
| %DataViewSetTYPENAME(this, offset, TO_NUMBER(value), !!little_endian);
|
| }
|
| +%FunctionSetLength(DataViewSetTYPENAMEJS, 2);
|
| endmacro
|
|
|
| DATA_VIEW_TYPES(DATA_VIEW_GETTER_SETTER)
|
|
|