MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / proxyRefFunc

Method proxyRefFunc

lib/executor/engine/proxy.cpp:232–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232Expect<RefVariant> Executor::proxyRefFunc(Runtime::StackManager &StackMgr,
233 const uint32_t FuncIdx) noexcept {
234 auto *FuncInst = getFuncInstByIdx(StackMgr, FuncIdx);
235 assuming(FuncInst);
236 return RefVariant(FuncInst->getDefType(), FuncInst);
237}
238
239Expect<RefVariant> Executor::proxyStructNew(Runtime::StackManager &StackMgr,
240 const uint32_t TypeIdx,

Callers

nothing calls this directly

Calls 2

RefVariantClass · 0.85
getDefTypeMethod · 0.45

Tested by

no test coverage detected