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

Method is_block_inserted

cranelift/codegen/src/ir/layout.rs:221–223  ·  view source on GitHub ↗

Is `block` currently part of the layout?

(&self, block: Block)

Source from the content-addressed store, hash-verified

219impl Layout {
220 /// Is `block` currently part of the layout?
221 pub fn is_block_inserted(&self, block: Block) -> bool {
222 Some(block) == self.first_block || self.blocks[block].prev.is_some()
223 }
224
225 /// Insert `block` as the last block in the layout.
226 pub fn append_block(&mut self, block: Block) {

Callers 5

ensure_inserted_blockMethod · 0.80
inline_oneFunction · 0.80
verify_blockMethod · 0.80
verify_inst_argMethod · 0.80

Calls 1

is_someMethod · 0.45

Tested by

no test coverage detected