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

Method succ_iter

cranelift/codegen/src/flowgraph.rs:165–168  ·  view source on GitHub ↗

Get an iterator over the CFG successors to `block`.

(&self, block: Block)

Source from the content-addressed store, hash-verified

163
164 /// Get an iterator over the CFG successors to `block`.
165 pub fn succ_iter(&self, block: Block) -> SuccIter<'_> {
166 debug_assert!(self.is_valid());
167 self.data[block].successors.iter(&self.succ_forest)
168 }
169
170 /// Check if the CFG is in a valid state.
171 ///

Callers 3

branches_and_jumpsFunction · 0.80
find_reachable_blocksMethod · 0.80
cfg_integrityMethod · 0.80

Calls 1

iterMethod · 0.45

Tested by 1

branches_and_jumpsFunction · 0.64