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

Method is_reachable

cranelift/codegen/src/dominator_tree/simple.rs:51–53  ·  view source on GitHub ↗

Is `block` reachable from the entry block?

(&self, block: Block)

Source from the content-addressed store, hash-verified

49impl SimpleDominatorTree {
50 /// Is `block` reachable from the entry block?
51 pub fn is_reachable(&self, block: Block) -> bool {
52 self.nodes[block].rpo_number != 0
53 }
54
55 /// Get the CFG post-order of blocks that was used to compute the dominator tree.
56 ///

Callers 1

verify_inst_argMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected