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

Method first_inst

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

Fetch a block's first instruction.

(&self, block: Block)

Source from the content-addressed store, hash-verified

452
453 /// Fetch a block's first instruction.
454 pub fn first_inst(&self, block: Block) -> Option<Inst> {
455 self.blocks[block].first_inst.into()
456 }
457
458 /// Fetch a block's last instruction.
459 pub fn last_inst(&self, block: Block) -> Option<Inst> {

Callers 15

blockMethod · 0.80
newMethod · 0.80
mutateMethod · 0.80
next_inst_ret_prevFunction · 0.80
do_souper_harvestFunction · 0.80
inline_oneFunction · 0.80
goto_first_instMethod · 0.80
next_inst_positionMethod · 0.80
just_trap_block_codeMethod · 0.80
process_brifMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected