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

Method next_position

cranelift/codegen/src/cursor.rs:304–307  ·  view source on GitHub ↗

Get the next position that a forwards traversal will move to, but do not move this cursor.

(&self)

Source from the content-addressed store, hash-verified

302 /// Get the next position that a forwards traversal will move to, but do not
303 /// move this cursor.
304 fn next_position(&self) -> CursorPosition {
305 self.next_inst_position()
306 .unwrap_or_else(|| self.next_block_position())
307 }
308
309 /// Get the next position that a backwards traversal will move to, but do
310 /// not move this cursor.

Callers

nothing calls this directly

Implementers 2

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

Calls 2

next_inst_positionMethod · 0.80
next_block_positionMethod · 0.80

Tested by

no test coverage detected