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

Method compute_block

cranelift/codegen/src/flowgraph.rs:119–123  ·  view source on GitHub ↗
(&mut self, func: &Function, block: Block)

Source from the content-addressed store, hash-verified

117 }
118
119 fn compute_block(&mut self, func: &Function, block: Block) {
120 inst_predicates::visit_block_succs(func, block, |inst, dest, _| {
121 self.add_edge(block, inst, dest);
122 });
123 }
124
125 fn invalidate_block_successors(&mut self, block: Block) {
126 // Temporarily take ownership because we need mutable access to self.data inside the loop.

Callers 2

computeMethod · 0.80
recompute_blockMethod · 0.80

Calls 2

visit_block_succsFunction · 0.85
add_edgeMethod · 0.80

Tested by

no test coverage detected