| 396 | return unsafeGetGlobal(Idx); |
| 397 | } |
| 398 | GlobalInstance *unsafeGetGlobal(uint32_t Idx) const noexcept { |
| 399 | return GlobInsts[Idx]; |
| 400 | } |
| 401 | Expect<ElementInstance *> getElem(uint32_t Idx) const noexcept { |
| 402 | std::shared_lock Lock(Mutex); |
| 403 | if (Idx >= ElemInsts.size()) { |