| 1451 | } |
| 1452 | |
| 1453 | txSlot* fxCheckTypedArrayInstance(txMachine* the, txSlot* slot) |
| 1454 | { |
| 1455 | if (slot->kind == XS_REFERENCE_KIND) { |
| 1456 | txSlot* instance = slot->value.reference; |
| 1457 | if (((slot = instance->next)) && (slot->flag & XS_INTERNAL_FLAG) && (slot->kind == XS_TYPED_ARRAY_KIND)) |
| 1458 | return instance; |
| 1459 | } |
| 1460 | mxTypeError("this: not a TypedArray instance"); |
| 1461 | return C_NULL; |
| 1462 | } |
| 1463 | |
| 1464 | txSlot* fxConstructTypedArray(txMachine* the) |
| 1465 | { |
no outgoing calls
no test coverage detected