Create a new Local value.
(index: u32, ty: WasmValType)
| 162 | |
| 163 | /// Create a new Local value. |
| 164 | pub fn local(index: u32, ty: WasmValType) -> Self { |
| 165 | Self::Local(Local { index, ty }) |
| 166 | } |
| 167 | |
| 168 | /// Create a Memory value. |
| 169 | pub fn mem(ty: WasmValType, slot: StackSlot) -> Self { |
no test coverage detected