|
|
|
@ -432,7 +432,7 @@ namespace data_view {
|
|
|
|
|
transitioning javascript builtin DataViewPrototypeGetUint8(
|
|
|
|
|
js-implicit context: NativeContext,
|
|
|
|
|
receiver: JSAny)(...arguments): JSAny {
|
|
|
|
|
const offset: JSAny = arguments.length > 0 ? arguments[0] : Undefined;
|
|
|
|
|
const offset: JSAny = arguments[0];
|
|
|
|
|
return DataViewGet(
|
|
|
|
|
context, receiver, offset, Undefined, ElementsKind::UINT8_ELEMENTS);
|
|
|
|
|
}
|
|
|
|
@ -440,7 +440,7 @@ namespace data_view {
|
|
|
|
|
transitioning javascript builtin DataViewPrototypeGetInt8(
|
|
|
|
|
js-implicit context: NativeContext,
|
|
|
|
|
receiver: JSAny)(...arguments): JSAny {
|
|
|
|
|
const offset: JSAny = arguments.length > 0 ? arguments[0] : Undefined;
|
|
|
|
|
const offset: JSAny = arguments[0];
|
|
|
|
|
return DataViewGet(
|
|
|
|
|
context, receiver, offset, Undefined, ElementsKind::INT8_ELEMENTS);
|
|
|
|
|
}
|
|
|
|
@ -448,9 +448,8 @@ namespace data_view {
|
|
|
|
|
transitioning javascript builtin DataViewPrototypeGetUint16(
|
|
|
|
|
js-implicit context: NativeContext,
|
|
|
|
|
receiver: JSAny)(...arguments): JSAny {
|
|
|
|
|
const offset: JSAny = arguments.length > 0 ? arguments[0] : Undefined;
|
|
|
|
|
const isLittleEndian: JSAny =
|
|
|
|
|
arguments.length > 1 ? arguments[1] : Undefined;
|
|
|
|
|
const offset: JSAny = arguments[0];
|
|
|
|
|
const isLittleEndian: JSAny = arguments[1];
|
|
|
|
|
return DataViewGet(
|
|
|
|
|
context, receiver, offset, isLittleEndian,
|
|
|
|
|
ElementsKind::UINT16_ELEMENTS);
|
|
|
|
@ -459,9 +458,8 @@ namespace data_view {
|
|
|
|
|
transitioning javascript builtin DataViewPrototypeGetInt16(
|
|
|
|
|
js-implicit context: NativeContext,
|
|
|
|
|
receiver: JSAny)(...arguments): JSAny {
|
|
|
|
|
const offset: JSAny = arguments.length > 0 ? arguments[0] : Undefined;
|
|
|
|
|
const isLittleEndian: JSAny =
|
|
|
|
|
arguments.length > 1 ? arguments[1] : Undefined;
|
|
|
|
|
const offset: JSAny = arguments[0];
|
|
|
|
|
const isLittleEndian: JSAny = arguments[1];
|
|
|
|
|
return DataViewGet(
|
|
|
|
|
context, receiver, offset, isLittleEndian,
|
|
|
|
|
ElementsKind::INT16_ELEMENTS);
|
|
|
|
@ -470,9 +468,8 @@ namespace data_view {
|
|
|
|
|
transitioning javascript builtin DataViewPrototypeGetUint32(
|
|
|
|
|
js-implicit context: NativeContext,
|
|
|
|
|
receiver: JSAny)(...arguments): JSAny {
|
|
|
|
|
const offset: JSAny = arguments.length > 0 ? arguments[0] : Undefined;
|
|
|
|
|
const isLittleEndian: JSAny =
|
|
|
|
|
arguments.length > 1 ? arguments[1] : Undefined;
|
|
|
|
|
const offset: JSAny = arguments[0];
|
|
|
|
|
const isLittleEndian: JSAny = arguments[1];
|
|
|
|
|
return DataViewGet(
|
|
|
|
|
context, receiver, offset, isLittleEndian,
|
|
|
|
|
ElementsKind::UINT32_ELEMENTS);
|
|
|
|
@ -481,9 +478,8 @@ namespace data_view {
|
|
|
|
|
transitioning javascript builtin DataViewPrototypeGetInt32(
|
|
|
|
|
js-implicit context: NativeContext,
|
|
|
|
|
receiver: JSAny)(...arguments): JSAny {
|
|
|
|
|
const offset: JSAny = arguments.length > 0 ? arguments[0] : Undefined;
|
|
|
|
|
const isLittleEndian: JSAny =
|
|
|
|
|
arguments.length > 1 ? arguments[1] : Undefined;
|
|
|
|
|
const offset: JSAny = arguments[0];
|
|
|
|
|
const isLittleEndian: JSAny = arguments[1];
|
|
|
|
|
return DataViewGet(
|
|
|
|
|
context, receiver, offset, isLittleEndian,
|
|
|
|
|
ElementsKind::INT32_ELEMENTS);
|
|
|
|
@ -492,9 +488,8 @@ namespace data_view {
|
|
|
|
|
transitioning javascript builtin DataViewPrototypeGetFloat32(
|
|
|
|
|
js-implicit context: NativeContext,
|
|
|
|
|
receiver: JSAny)(...arguments): JSAny {
|
|
|
|
|
const offset: JSAny = arguments.length > 0 ? arguments[0] : Undefined;
|
|
|
|
|
const isLittleEndian: JSAny =
|
|
|
|
|
arguments.length > 1 ? arguments[1] : Undefined;
|
|
|
|
|
const offset: JSAny = arguments[0];
|
|
|
|
|
const isLittleEndian: JSAny = arguments[1];
|
|
|
|
|
return DataViewGet(
|
|
|
|
|
context, receiver, offset, isLittleEndian,
|
|
|
|
|
ElementsKind::FLOAT32_ELEMENTS);
|
|
|
|
@ -503,9 +498,8 @@ namespace data_view {
|
|
|
|
|
transitioning javascript builtin DataViewPrototypeGetFloat64(
|
|
|
|
|
js-implicit context: NativeContext,
|
|
|
|
|
receiver: JSAny)(...arguments): JSAny {
|
|
|
|
|
const offset: JSAny = arguments.length > 0 ? arguments[0] : Undefined;
|
|
|
|
|
const isLittleEndian: JSAny =
|
|
|
|
|
arguments.length > 1 ? arguments[1] : Undefined;
|
|
|
|
|
const offset: JSAny = arguments[0];
|
|
|
|
|
const isLittleEndian: JSAny = arguments[1];
|
|
|
|
|
return DataViewGet(
|
|
|
|
|
context, receiver, offset, isLittleEndian,
|
|
|
|
|
ElementsKind::FLOAT64_ELEMENTS);
|
|
|
|
@ -514,9 +508,8 @@ namespace data_view {
|
|
|
|
|
transitioning javascript builtin DataViewPrototypeGetBigUint64(
|
|
|
|
|
js-implicit context: NativeContext,
|
|
|
|
|
receiver: JSAny)(...arguments): JSAny {
|
|
|
|
|
const offset: JSAny = arguments.length > 0 ? arguments[0] : Undefined;
|
|
|
|
|
const isLittleEndian: JSAny =
|
|
|
|
|
arguments.length > 1 ? arguments[1] : Undefined;
|
|
|
|
|
const offset: JSAny = arguments[0];
|
|
|
|
|
const isLittleEndian: JSAny = arguments[1];
|
|
|
|
|
return DataViewGet(
|
|
|
|
|
context, receiver, offset, isLittleEndian,
|
|
|
|
|
ElementsKind::BIGUINT64_ELEMENTS);
|
|
|
|
@ -525,9 +518,8 @@ namespace data_view {
|
|
|
|
|
transitioning javascript builtin DataViewPrototypeGetBigInt64(
|
|
|
|
|
js-implicit context: NativeContext,
|
|
|
|
|
receiver: JSAny)(...arguments): JSAny {
|
|
|
|
|
const offset: JSAny = arguments.length > 0 ? arguments[0] : Undefined;
|
|
|
|
|
const isLittleEndian: JSAny =
|
|
|
|
|
arguments.length > 1 ? arguments[1] : Undefined;
|
|
|
|
|
const offset: JSAny = arguments[0];
|
|
|
|
|
const isLittleEndian: JSAny = arguments[1];
|
|
|
|
|
return DataViewGet(
|
|
|
|
|
context, receiver, offset, isLittleEndian,
|
|
|
|
|
ElementsKind::BIGINT64_ELEMENTS);
|
|
|
|
@ -767,8 +759,8 @@ namespace data_view {
|
|
|
|
|
transitioning javascript builtin DataViewPrototypeSetUint8(
|
|
|
|
|
js-implicit context: NativeContext,
|
|
|
|
|
receiver: JSAny)(...arguments): JSAny {
|
|
|
|
|
const offset: JSAny = arguments.length > 0 ? arguments[0] : Undefined;
|
|
|
|
|
const value: JSAny = arguments.length > 1 ? arguments[1] : Undefined;
|
|
|
|
|
const offset: JSAny = arguments[0];
|
|
|
|
|
const value: JSAny = arguments[1];
|
|
|
|
|
return DataViewSet(
|
|
|
|
|
context, receiver, offset, value, Undefined,
|
|
|
|
|
ElementsKind::UINT8_ELEMENTS);
|
|
|
|
@ -777,8 +769,8 @@ namespace data_view {
|
|
|
|
|
transitioning javascript builtin DataViewPrototypeSetInt8(
|
|
|
|
|
js-implicit context: NativeContext,
|
|
|
|
|
receiver: JSAny)(...arguments): JSAny {
|
|
|
|
|
const offset: JSAny = arguments.length > 0 ? arguments[0] : Undefined;
|
|
|
|
|
const value: JSAny = arguments.length > 1 ? arguments[1] : Undefined;
|
|
|
|
|
const offset: JSAny = arguments[0];
|
|
|
|
|
const value: JSAny = arguments[1];
|
|
|
|
|
return DataViewSet(
|
|
|
|
|
context, receiver, offset, value, Undefined,
|
|
|
|
|
ElementsKind::INT8_ELEMENTS);
|
|
|
|
@ -787,10 +779,9 @@ namespace data_view {
|
|
|
|
|
transitioning javascript builtin DataViewPrototypeSetUint16(
|
|
|
|
|
js-implicit context: NativeContext,
|
|
|
|
|
receiver: JSAny)(...arguments): JSAny {
|
|
|
|
|
const offset: JSAny = arguments.length > 0 ? arguments[0] : Undefined;
|
|
|
|
|
const value: JSAny = arguments.length > 1 ? arguments[1] : Undefined;
|
|
|
|
|
const isLittleEndian: JSAny =
|
|
|
|
|
arguments.length > 2 ? arguments[2] : Undefined;
|
|
|
|
|
const offset: JSAny = arguments[0];
|
|
|
|
|
const value: JSAny = arguments[1];
|
|
|
|
|
const isLittleEndian: JSAny = arguments[2];
|
|
|
|
|
return DataViewSet(
|
|
|
|
|
context, receiver, offset, value, isLittleEndian,
|
|
|
|
|
ElementsKind::UINT16_ELEMENTS);
|
|
|
|
@ -799,10 +790,9 @@ namespace data_view {
|
|
|
|
|
transitioning javascript builtin DataViewPrototypeSetInt16(
|
|
|
|
|
js-implicit context: NativeContext,
|
|
|
|
|
receiver: JSAny)(...arguments): JSAny {
|
|
|
|
|
const offset: JSAny = arguments.length > 0 ? arguments[0] : Undefined;
|
|
|
|
|
const value: JSAny = arguments.length > 1 ? arguments[1] : Undefined;
|
|
|
|
|
const isLittleEndian: JSAny =
|
|
|
|
|
arguments.length > 2 ? arguments[2] : Undefined;
|
|
|
|
|
const offset: JSAny = arguments[0];
|
|
|
|
|
const value: JSAny = arguments[1];
|
|
|
|
|
const isLittleEndian: JSAny = arguments[2];
|
|
|
|
|
return DataViewSet(
|
|
|
|
|
context, receiver, offset, value, isLittleEndian,
|
|
|
|
|
ElementsKind::INT16_ELEMENTS);
|
|
|
|
@ -811,10 +801,9 @@ namespace data_view {
|
|
|
|
|
transitioning javascript builtin DataViewPrototypeSetUint32(
|
|
|
|
|
js-implicit context: NativeContext,
|
|
|
|
|
receiver: JSAny)(...arguments): JSAny {
|
|
|
|
|
const offset: JSAny = arguments.length > 0 ? arguments[0] : Undefined;
|
|
|
|
|
const value: JSAny = arguments.length > 1 ? arguments[1] : Undefined;
|
|
|
|
|
const isLittleEndian: JSAny =
|
|
|
|
|
arguments.length > 2 ? arguments[2] : Undefined;
|
|
|
|
|
const offset: JSAny = arguments[0];
|
|
|
|
|
const value: JSAny = arguments[1];
|
|
|
|
|
const isLittleEndian: JSAny = arguments[2];
|
|
|
|
|
return DataViewSet(
|
|
|
|
|
context, receiver, offset, value, isLittleEndian,
|
|
|
|
|
ElementsKind::UINT32_ELEMENTS);
|
|
|
|
@ -823,10 +812,9 @@ namespace data_view {
|
|
|
|
|
transitioning javascript builtin DataViewPrototypeSetInt32(
|
|
|
|
|
js-implicit context: NativeContext,
|
|
|
|
|
receiver: JSAny)(...arguments): JSAny {
|
|
|
|
|
const offset: JSAny = arguments.length > 0 ? arguments[0] : Undefined;
|
|
|
|
|
const value: JSAny = arguments.length > 1 ? arguments[1] : Undefined;
|
|
|
|
|
const isLittleEndian: JSAny =
|
|
|
|
|
arguments.length > 2 ? arguments[2] : Undefined;
|
|
|
|
|
const offset: JSAny = arguments[0];
|
|
|
|
|
const value: JSAny = arguments[1];
|
|
|
|
|
const isLittleEndian: JSAny = arguments[2];
|
|
|
|
|
return DataViewSet(
|
|
|
|
|
context, receiver, offset, value, isLittleEndian,
|
|
|
|
|
ElementsKind::INT32_ELEMENTS);
|
|
|
|
@ -835,10 +823,9 @@ namespace data_view {
|
|
|
|
|
transitioning javascript builtin DataViewPrototypeSetFloat32(
|
|
|
|
|
js-implicit context: NativeContext,
|
|
|
|
|
receiver: JSAny)(...arguments): JSAny {
|
|
|
|
|
const offset: JSAny = arguments.length > 0 ? arguments[0] : Undefined;
|
|
|
|
|
const value: JSAny = arguments.length > 1 ? arguments[1] : Undefined;
|
|
|
|
|
const isLittleEndian: JSAny =
|
|
|
|
|
arguments.length > 2 ? arguments[2] : Undefined;
|
|
|
|
|
const offset: JSAny = arguments[0];
|
|
|
|
|
const value: JSAny = arguments[1];
|
|
|
|
|
const isLittleEndian: JSAny = arguments[2];
|
|
|
|
|
return DataViewSet(
|
|
|
|
|
context, receiver, offset, value, isLittleEndian,
|
|
|
|
|
ElementsKind::FLOAT32_ELEMENTS);
|
|
|
|
@ -847,10 +834,9 @@ namespace data_view {
|
|
|
|
|
transitioning javascript builtin DataViewPrototypeSetFloat64(
|
|
|
|
|
js-implicit context: NativeContext,
|
|
|
|
|
receiver: JSAny)(...arguments): JSAny {
|
|
|
|
|
const offset: JSAny = arguments.length > 0 ? arguments[0] : Undefined;
|
|
|
|
|
const value: JSAny = arguments.length > 1 ? arguments[1] : Undefined;
|
|
|
|
|
const isLittleEndian: JSAny =
|
|
|
|
|
arguments.length > 2 ? arguments[2] : Undefined;
|
|
|
|
|
const offset: JSAny = arguments[0];
|
|
|
|
|
const value: JSAny = arguments[1];
|
|
|
|
|
const isLittleEndian: JSAny = arguments[2];
|
|
|
|
|
return DataViewSet(
|
|
|
|
|
context, receiver, offset, value, isLittleEndian,
|
|
|
|
|
ElementsKind::FLOAT64_ELEMENTS);
|
|
|
|
@ -859,10 +845,9 @@ namespace data_view {
|
|
|
|
|
transitioning javascript builtin DataViewPrototypeSetBigUint64(
|
|
|
|
|
js-implicit context: NativeContext,
|
|
|
|
|
receiver: JSAny)(...arguments): JSAny {
|
|
|
|
|
const offset: JSAny = arguments.length > 0 ? arguments[0] : Undefined;
|
|
|
|
|
const value: JSAny = arguments.length > 1 ? arguments[1] : Undefined;
|
|
|
|
|
const isLittleEndian: JSAny =
|
|
|
|
|
arguments.length > 2 ? arguments[2] : Undefined;
|
|
|
|
|
const offset: JSAny = arguments[0];
|
|
|
|
|
const value: JSAny = arguments[1];
|
|
|
|
|
const isLittleEndian: JSAny = arguments[2];
|
|
|
|
|
return DataViewSet(
|
|
|
|
|
context, receiver, offset, value, isLittleEndian,
|
|
|
|
|
ElementsKind::BIGUINT64_ELEMENTS);
|
|
|
|
@ -871,10 +856,9 @@ namespace data_view {
|
|
|
|
|
transitioning javascript builtin DataViewPrototypeSetBigInt64(
|
|
|
|
|
js-implicit context: NativeContext,
|
|
|
|
|
receiver: JSAny)(...arguments): JSAny {
|
|
|
|
|
const offset: JSAny = arguments.length > 0 ? arguments[0] : Undefined;
|
|
|
|
|
const value: JSAny = arguments.length > 1 ? arguments[1] : Undefined;
|
|
|
|
|
const isLittleEndian: JSAny =
|
|
|
|
|
arguments.length > 2 ? arguments[2] : Undefined;
|
|
|
|
|
const offset: JSAny = arguments[0];
|
|
|
|
|
const value: JSAny = arguments[1];
|
|
|
|
|
const isLittleEndian: JSAny = arguments[2];
|
|
|
|
|
return DataViewSet(
|
|
|
|
|
context, receiver, offset, value, isLittleEndian,
|
|
|
|
|
ElementsKind::BIGINT64_ELEMENTS);
|
|
|
|
|