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

Method next

cranelift/codegen/src/ir/layout.rs:389–397  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

387 type Item = Block;
388
389 fn next(&mut self) -> Option<Block> {
390 match self.next {
391 Some(block) => {
392 self.next = self.layout.next_block(block);
393 Some(block)
394 }
395 None => None,
396 }
397 }
398}
399
400/// Use a layout reference in a for loop.

Callers

nothing calls this directly

Calls 1

next_blockMethod · 0.45

Tested by

no test coverage detected