| 1287 | } |
| 1288 | |
| 1289 | txBoolean fxTypedArrayDeleteProperty(txMachine* the, txSlot* instance, txID id, txIndex index) |
| 1290 | { |
| 1291 | if ((!id) || fxIsCanonicalIndex(the, id)) { |
| 1292 | txSlot* dispatch = instance->next; |
| 1293 | txSlot* view = dispatch->next; |
| 1294 | txSlot* buffer = view->next; |
| 1295 | txU2 shift = dispatch->value.typedArray.dispatch->shift; |
| 1296 | txIndex length = fxGetDataViewSize(the, view, buffer) >> shift; |
| 1297 | return ((!id) && (index < length)) ? 0 : 1; |
| 1298 | } |
| 1299 | return fxOrdinaryDeleteProperty(the, instance, id, index); |
| 1300 | } |
| 1301 | |
| 1302 | txBoolean fxTypedArrayGetOwnProperty(txMachine* the, txSlot* instance, txID id, txIndex index, txSlot* slot) |
| 1303 | { |
nothing calls this directly
no test coverage detected