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

Method blocks

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

Return an iterator over all blocks in layout order.

(&self)

Source from the content-addressed store, hash-verified

325
326 /// Return an iterator over all blocks in layout order.
327 pub fn blocks(&self) -> Blocks<'_> {
328 Blocks {
329 layout: self,
330 next: self.first_block,
331 }
332 }
333
334 /// Get the function's entry block.
335 /// This is simply the first block in the layout order.

Callers 15

runMethod · 0.80
callMethod · 0.80
resolve_global_valueMethod · 0.80
block_headerFunction · 0.80
mutateMethod · 0.80
block_countFunction · 0.80
inst_countFunction · 0.80
check_for_crashMethod · 0.80
do_souper_harvestFunction · 0.80
no_predecessorsFunction · 0.80
newMethod · 0.80
newMethod · 0.80

Calls

no outgoing calls

Tested by 5

runMethod · 0.64
block_headerFunction · 0.64
no_predecessorsFunction · 0.64
append_blockFunction · 0.64
insert_blockFunction · 0.64