| 1509 | } |
| 1510 | |
| 1511 | txSlot* fxNewTypedArrayInstance(txMachine* the, txTypeDispatch* dispatch, txTypeAtomics* atomics) |
| 1512 | { |
| 1513 | txSlot* instance; |
| 1514 | txSlot* property; |
| 1515 | instance = fxNewObjectInstance(the); |
| 1516 | instance->flag |= XS_EXOTIC_FLAG; |
| 1517 | property = fxNextTypeDispatchProperty(the, instance, dispatch, atomics, XS_TYPED_ARRAY_BEHAVIOR, XS_INTERNAL_FLAG); |
| 1518 | property = property->next = fxNewSlot(the); |
| 1519 | property->flag = XS_INTERNAL_FLAG; |
| 1520 | property->kind = XS_DATA_VIEW_KIND; |
| 1521 | property->value.dataView.offset = 0; |
| 1522 | property->value.dataView.size = 0; |
| 1523 | property = fxNextNullProperty(the, property, XS_NO_ID, XS_INTERNAL_FLAG); |
| 1524 | return instance; |
| 1525 | } |
| 1526 | |
| 1527 | void fx_TypedArray(txMachine* the) |
| 1528 | { |
no test coverage detected