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

Method goto_bottom

cranelift/codegen/src/cursor.rs:297–300  ·  view source on GitHub ↗

Go to the bottom of `block` which must be inserted into the layout. At this position, inserted instructions will be appended to `block`.

(&mut self, block: ir::Block)

Source from the content-addressed store, hash-verified

295 /// Go to the bottom of `block` which must be inserted into the layout.
296 /// At this position, inserted instructions will be appended to `block`.
297 fn goto_bottom(&mut self, block: ir::Block) {
298 debug_assert!(self.layout().is_block_inserted(block));
299 self.set_position(CursorPosition::After(block));
300 }
301
302 /// Get the next position that a forwards traversal will move to, but do not
303 /// move this cursor.

Callers 3

do_inliningFunction · 0.80
at_bottomMethod · 0.80

Implementers 2

cursor.rscranelift/codegen/src/cursor.rs
layout.rscranelift/codegen/src/ir/layout.rs

Calls 1

set_positionMethod · 0.45

Tested by

no test coverage detected