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

Method contains_fn

cranelift/reader/src/sourcemap.rs:57–59  ·  view source on GitHub ↗

Look up a function entity.

(&self, fn_: FuncRef)

Source from the content-addressed store, hash-verified

55
56 /// Look up a function entity.
57 pub fn contains_fn(&self, fn_: FuncRef) -> bool {
58 self.locations.contains_key(&fn_.into())
59 }
60
61 /// Look up a jump table entity.
62 pub fn contains_jt(&self, jt: JumpTable) -> bool {

Callers 2

check_fnMethod · 0.80
lookup_strMethod · 0.80

Calls 1

contains_keyMethod · 0.45

Tested by

no test coverage detected