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

Method locals

winch/codegen/src/frame/mod.rs:165–167  ·  view source on GitHub ↗

Returns an iterator over all the [`LocalSlot`]s in the frame, including the [`SpecialLocals`].

(&self)

Source from the content-addressed store, hash-verified

163 /// Returns an iterator over all the [`LocalSlot`]s in the frame, including
164 /// the [`SpecialLocals`].
165 pub fn locals(&self) -> impl Iterator<Item = &LocalSlot> {
166 self.special_locals.iter().chain(self.wasm_locals.iter())
167 }
168
169 /// Prepares the frame for the [`Emission`] code generation phase.
170 pub fn for_emission(self) -> Frame<Emission> {

Callers 2

describe_local_shapeMethod · 0.45

Calls 2

chainMethod · 0.80
iterMethod · 0.45

Tested by

no test coverage detected