| 400 | } |
| 401 | |
| 402 | Runtime::Instance::TagInstance * |
| 403 | Executor::getTagInstByIdx(Runtime::StackManager &StackMgr, |
| 404 | const uint32_t Idx) const { |
| 405 | const auto *ModInst = StackMgr.getModule(); |
| 406 | // When the top frame is a dummy frame, the instance cannot be found. |
| 407 | if (unlikely(ModInst == nullptr)) { |
| 408 | return nullptr; |
| 409 | } |
| 410 | return ModInst->unsafeGetTag(Idx); |
| 411 | } |
| 412 | |
| 413 | Runtime::Instance::GlobalInstance * |
| 414 | Executor::getGlobInstByIdx(Runtime::StackManager &StackMgr, |
nothing calls this directly
no test coverage detected