| 648 | } |
| 649 | |
| 650 | Expect<void *> Executor::proxyRefGetFuncSymbol(Runtime::StackManager &, |
| 651 | const RefVariant Ref) noexcept { |
| 652 | const auto *FuncInst = retrieveFuncRef(Ref); |
| 653 | assuming(FuncInst); |
| 654 | if (unlikely(!FuncInst->isCompiledFunction())) { |
| 655 | return nullptr; |
| 656 | } |
| 657 | return FuncInst->getSymbol().get(); |
| 658 | } |
| 659 | |
| 660 | } // namespace Executor |
| 661 | } // namespace WasmEdge |
nothing calls this directly
no test coverage detected