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

Method is_reachable

cranelift/codegen/src/dominator_tree.rs:205–207  ·  view source on GitHub ↗

Is `block` reachable from the entry block?

(&self, block: Block)

Source from the content-addressed store, hash-verified

203impl DominatorTree {
204 /// Is `block` reachable from the entry block?
205 pub fn is_reachable(&self, block: Block) -> bool {
206 self.nodes[block].pre_number != NOT_VISITED
207 }
208
209 /// Get the CFG post-order of blocks that was used to compute the dominator tree.
210 ///

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected