MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / funcref

Method funcref

winch/codegen/src/codegen/env.rs:181–183  ·  view source on GitHub ↗

Resolves a [`Callee::FuncRef`] from a type index.

(&mut self, idx: TypeIndex)

Source from the content-addressed store, hash-verified

179
180 /// Resolves a [`Callee::FuncRef`] from a type index.
181 pub(crate) fn funcref(&mut self, idx: TypeIndex) -> Callee {
182 Callee::FuncRef(idx)
183 }
184
185 /// Resolves a function [`Callee`] from an index.
186 pub(crate) fn callee_from_index(&mut self, idx: FuncIndex) -> Callee {

Callers 1

visit_call_indirectMethod · 0.45

Calls 1

FuncRefClass · 0.85

Tested by

no test coverage detected