| 427 | return static_cast<uint32_t>(FuncInsts.size()); |
| 428 | } |
| 429 | uint32_t getMemoryNum() const noexcept { |
| 430 | std::shared_lock Lock(Mutex); |
| 431 | return static_cast<uint32_t>(MemInsts.size()); |
| 432 | } |
| 433 | uint32_t getGlobalNum() const noexcept { |
| 434 | std::shared_lock Lock(Mutex); |
| 435 | return static_cast<uint32_t>(GlobInsts.size()); |