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

Method contains_block

cranelift/reader/src/sourcemap.rs:32–34  ·  view source on GitHub ↗

Look up a block entity.

(&self, block: Block)

Source from the content-addressed store, hash-verified

30
31 /// Look up a block entity.
32 pub fn contains_block(&self, block: Block) -> bool {
33 self.locations.contains_key(&block.into())
34 }
35
36 /// Look up a stack slot entity.
37 pub fn contains_ss(&self, ss: StackSlot) -> bool {

Callers 1

lookup_strMethod · 0.80

Calls 1

contains_keyMethod · 0.45

Tested by

no test coverage detected