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

Method contains_gv

cranelift/reader/src/sourcemap.rs:47–49  ·  view source on GitHub ↗

Look up a global value entity.

(&self, gv: GlobalValue)

Source from the content-addressed store, hash-verified

45
46 /// Look up a global value entity.
47 pub fn contains_gv(&self, gv: GlobalValue) -> bool {
48 self.locations.contains_key(&gv.into())
49 }
50
51 /// Look up a signature entity.
52 pub fn contains_sig(&self, sig: SigRef) -> bool {

Callers 2

check_gvMethod · 0.80
lookup_strMethod · 0.80

Calls 1

contains_keyMethod · 0.45

Tested by

no test coverage detected