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

Method describe_stack_shape

src/commands/objdump.rs:626–633  ·  view source on GitHub ↗
(desc: &FrameStateSlot<'_>, shape: FrameStackShape)

Source from the content-addressed store, hash-verified

624 }
625
626 fn describe_stack_shape(desc: &FrameStateSlot<'_>, shape: FrameStackShape) -> String {
627 let mut parts = vec![];
628 for (offset, ty) in desc.stack(shape) {
629 parts.push(format!("{ty:?} @ slot+0x{:x}", offset.offset()));
630 }
631 parts.reverse();
632 parts.join(", ")
633 }
634}

Callers

nothing calls this directly

Calls 4

reverseMethod · 0.80
stackMethod · 0.45
pushMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected