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

Method spill

winch/codegen/src/codegen/context.rs:655–657  ·  view source on GitHub ↗

Convenience wrapper around [`Self::spill_callback`]. This function exists for cases in which triggering an unconditional spill is needed, like before entering control flow.

(&mut self, masm: &mut M)

Source from the content-addressed store, hash-verified

653 /// This function exists for cases in which triggering an unconditional
654 /// spill is needed, like before entering control flow.
655 pub fn spill<M: MacroAssembler>(&mut self, masm: &mut M) -> Result<()> {
656 Self::spill_impl(&mut self.stack, &mut self.regalloc, &self.frame, masm)
657 }
658
659 /// Prepares the compiler to branch to the given destination
660 /// frame.

Callers 9

visit_call_indirectMethod · 0.80
visit_br_ifMethod · 0.80
emit_set_localMethod · 0.80
emit_table_getMethod · 0.80
maybe_emit_fuel_checkMethod · 0.80
emitMethod · 0.80
calculate_stack_stateMethod · 0.80
ensure_ret_areaMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected