| 51 | |
| 52 | |
| 53 | const Value* HeapArray::get(uint32_t index) { |
| 54 | if (index >= count()) |
| 55 | return nullptr; |
| 56 | auto &item = _items[index]; |
| 57 | if (item) |
| 58 | return item.asValue(); |
| 59 | assert(_source); |
| 60 | return _source->get(index); |
| 61 | } |
| 62 | |
| 63 | |
| 64 | void HeapArray::resize(uint32_t newSize) { |
no test coverage detected