(&mut self, idx: u32)
| 208 | } |
| 209 | |
| 210 | fn visit_local_get(&mut self, idx: u32) -> Self::Output { |
| 211 | let resolved_idx = self.local_addr_map[idx as usize]; |
| 212 | if let Some(t) = self.validator.get_local_type(idx) { |
| 213 | self.instructions.push(match operand_size(t) { |
| 214 | OperandSize::S32 => Instruction::LocalGet32(resolved_idx), |
| 215 | OperandSize::S64 => Instruction::LocalGet64(resolved_idx), |
| 216 | OperandSize::S128 => Instruction::LocalGet128(resolved_idx), |
| 217 | }); |
| 218 | } |
| 219 | } |
| 220 | |
| 221 | fn visit_local_set(&mut self, idx: u32) -> Self::Output { |
| 222 | let resolved_idx = self.local_addr_map[idx as usize]; |
nothing calls this directly
no test coverage detected