| 587 | } |
| 588 | |
| 589 | sonic_force_inline void setCapacity(size_t new_cap) { |
| 590 | sonic_assert(this->IsContainer()); |
| 591 | sonic_assert(this->o.next.children != nullptr); |
| 592 | // first node is meta node |
| 593 | ((MetaNode*)(this->o.next.children))->cap = new_cap; |
| 594 | } |
| 595 | |
| 596 | sonic_force_inline void setMap(map_type* new_map) { |
| 597 | sonic_assert(this->IsObject()); |
nothing calls this directly
no test coverage detected