(&mut self, value: TinyWasmValue)
| 251 | } |
| 252 | |
| 253 | pub(crate) fn push_dyn(&mut self, value: TinyWasmValue) -> Result<(), Trap> { |
| 254 | match value { |
| 255 | TinyWasmValue::Value32(v) => self.stack_32.push(v)?, |
| 256 | TinyWasmValue::Value64(v) => self.stack_64.push(v)?, |
| 257 | TinyWasmValue::Value128(v) => self.stack_128.push(v)?, |
| 258 | TinyWasmValue::ValueRef(v) => self.stack_32.push(v.raw())?, |
| 259 | } |
| 260 | Ok(()) |
| 261 | } |
| 262 | |
| 263 | pub(crate) fn pop_wasmvalue(&mut self, val_type: WasmType) -> WasmValue { |
| 264 | match val_type { |
no test coverage detected