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

Method emit

cranelift/codegen/src/machinst/lower.rs:1664–1667  ·  view source on GitHub ↗

Emit a machine instruction.

(&mut self, mach_inst: I)

Source from the content-addressed store, hash-verified

1662
1663 /// Emit a machine instruction.
1664 pub fn emit(&mut self, mach_inst: I) {
1665 trace!("emit: {:?}", mach_inst);
1666 self.ir_insts.push(mach_inst);
1667 }
1668
1669 /// Indicate that the side-effect of an instruction has been sunk to the
1670 /// current scan location. This should only be done with the instruction's

Callers 15

test_elide_jump_to_nextFunction · 0.45
test_flip_condFunction · 0.45
test_islandFunction · 0.45
test_island_backwardFunction · 0.45
test_multiple_redirectFunction · 0.45
test_handle_branch_cycleFunction · 0.45
emit_with_island_checkFunction · 0.45
gen_arg_setupMethod · 0.45
gen_returnMethod · 0.45

Calls 1

pushMethod · 0.45

Tested by 9

test_elide_jump_to_nextFunction · 0.36
test_flip_condFunction · 0.36
test_islandFunction · 0.36
test_island_backwardFunction · 0.36
test_multiple_redirectFunction · 0.36
test_handle_branch_cycleFunction · 0.36