| 433 | } |
| 434 | |
| 435 | Runtime::Instance::DataInstance * |
| 436 | Executor::getDataInstByIdx(Runtime::StackManager &StackMgr, |
| 437 | const uint32_t Idx) const { |
| 438 | const auto *ModInst = StackMgr.getModule(); |
| 439 | // When the top frame is a dummy frame, the instance cannot be found. |
| 440 | if (unlikely(ModInst == nullptr)) { |
| 441 | return nullptr; |
| 442 | } |
| 443 | return ModInst->unsafeGetData(Idx); |
| 444 | } |
| 445 | |
| 446 | TypeCode Executor::toBottomType(Runtime::StackManager &StackMgr, |
| 447 | const ValType &Type) const { |
nothing calls this directly
no test coverage detected