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

Method emit_block

cranelift/isle/isle/src/codegen.rs:659–669  ·  view source on GitHub ↗
(
        &self,
        ctx: &mut BodyContext<W>,
        block: &Block,
        ret_kind: ReturnKind,
        last_expr: &str,
        scope: StableSet<BindingId>,
    )

Source from the content-addressed store, hash-verified

657 }
658
659 fn emit_block<W: Write>(
660 &self,
661 ctx: &mut BodyContext<W>,
662 block: &Block,
663 ret_kind: ReturnKind,
664 last_expr: &str,
665 scope: StableSet<BindingId>,
666 ) -> std::fmt::Result {
667 ctx.begin_block()?;
668 self.emit_block_contents(ctx, block, ret_kind, last_expr, scope)
669 }
670
671 fn emit_block_contents<W: Write>(
672 &self,

Calls 2

begin_blockMethod · 0.80
emit_block_contentsMethod · 0.80

Tested by

no test coverage detected