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

Method bind_end

winch/codegen/src/codegen/control.rs:587–594  ·  view source on GitHub ↗

Binds the exit label of the current control stack frame and pushes the ABI results to the value stack.

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

Source from the content-addressed store, hash-verified

585 /// Binds the exit label of the current control stack frame and pushes the
586 /// ABI results to the value stack.
587 pub fn bind_end<M: MacroAssembler>(
588 &mut self,
589 masm: &mut M,
590 context: &mut CodeGenContext<Emission>,
591 ) -> Result<()> {
592 self.push_abi_results(context, masm)?;
593 self.bind_exit_label(masm)
594 }
595
596 /// Binds the exit label of the control stack frame.
597 pub fn bind_exit_label<M: MacroAssembler>(&self, masm: &mut M) -> Result<()> {

Callers 2

emit_endMethod · 0.80

Calls 2

bind_exit_labelMethod · 0.80
push_abi_resultsMethod · 0.45

Tested by

no test coverage detected