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

Method push_abi_results

winch/codegen/src/codegen/control.rs:759–770  ·  view source on GitHub ↗

Convenience wrapper around [CodeGenContext::push_abi_results] using the results of the current frame.

(
        &mut self,
        context: &mut CodeGenContext<Emission>,
        masm: &mut M,
    )

Source from the content-addressed store, hash-verified

757 /// Convenience wrapper around [CodeGenContext::push_abi_results] using the
758 /// results of the current frame.
759 fn push_abi_results<M>(
760 &mut self,
761 context: &mut CodeGenContext<Emission>,
762 masm: &mut M,
763 ) -> Result<()>
764 where
765 M: MacroAssembler,
766 {
767 context.push_abi_results(self.results::<M>()?, masm, |results, _, _| {
768 results.ret_area().copied()
769 })
770 }
771
772 /// Preemptively handles the ABI results of the current frame.
773 /// This function is meant to be used when emitting control flow with joins,

Callers 1

bind_endMethod · 0.45

Calls 2

copiedMethod · 0.80
ret_areaMethod · 0.80

Tested by

no test coverage detected