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

Method runRefFuncOp

lib/executor/engine/refInstr.cpp:88–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88Expect<void> Executor::runRefFuncOp(Runtime::StackManager &StackMgr,
89 uint32_t Idx) const noexcept {
90 const auto *FuncInst = getFuncInstByIdx(StackMgr, Idx);
91 StackMgr.push(RefVariant(FuncInst->getDefType(), FuncInst));
92 return {};
93}
94
95Expect<void> Executor::runRefEqOp(ValVariant &Val1,
96 const ValVariant &Val2) const noexcept {

Callers

nothing calls this directly

Calls 3

RefVariantClass · 0.85
pushMethod · 0.80
getDefTypeMethod · 0.45

Tested by

no test coverage detected