Create a Memory value.
(ty: WasmValType, slot: StackSlot)
| 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 { |