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

Method bindex_to_bb

cranelift/codegen/src/machinst/vcode.rs:1510–1512  ·  view source on GitHub ↗

Get the IR block for a BlockIndex, if one exists.

(&self, block: BlockIndex)

Source from the content-addressed store, hash-verified

1508
1509 /// Get the IR block for a BlockIndex, if one exists.
1510 pub fn bindex_to_bb(&self, block: BlockIndex) -> Option<ir::Block> {
1511 self.block_order.lowered_order()[block.index()].orig_block()
1512 }
1513
1514 /// Get the user stack map associated with the given forward instruction index.
1515 pub fn get_user_stack_map(&self, inst: InsnIndex) -> Option<&ir::UserStackMap> {

Callers 1

fmtMethod · 0.80

Calls 3

orig_blockMethod · 0.80
lowered_orderMethod · 0.80
indexMethod · 0.45

Tested by

no test coverage detected