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

Method describe_local_shape

src/commands/objdump.rs:618–624  ·  view source on GitHub ↗
(desc: &FrameStateSlot<'_>)

Source from the content-addressed store, hash-verified

616 }
617
618 fn describe_local_shape(desc: &FrameStateSlot<'_>) -> String {
619 let mut parts = vec![];
620 for (offset, ty) in desc.locals() {
621 parts.push(format!("{ty:?} @ slot+0x{:x}", offset.offset()));
622 }
623 parts.join(", ")
624 }
625
626 fn describe_stack_shape(desc: &FrameStateSlot<'_>, shape: FrameStackShape) -> String {
627 let mut parts = vec![];

Callers

nothing calls this directly

Calls 3

localsMethod · 0.45
pushMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected