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

Method mem

winch/codegen/src/stack.rs:169–171  ·  view source on GitHub ↗

Create a Memory value.

(ty: WasmValType, slot: StackSlot)

Source from the content-addressed store, hash-verified

167
168 /// Create a Memory value.
169 pub fn mem(ty: WasmValType, slot: StackSlot) -> Self {
170 Self::Memory(Memory { ty, slot })
171 }
172
173 /// Check whether the value is a register.
174 pub fn is_reg(&self) -> bool {

Callers

nothing calls this directly

Calls 1

MemoryClass · 0.70

Tested by

no test coverage detected