(&mut self, global_index: u32)
| 181 | } |
| 182 | |
| 183 | fn visit_global_set(&mut self, global_index: u32) -> Self::Output { |
| 184 | if let Some(Some(t)) = self.validator.get_operand_type(0) { |
| 185 | self.instructions.push(match operand_size(t) { |
| 186 | OperandSize::S32 => Instruction::GlobalSet32(global_index), |
| 187 | OperandSize::S64 => Instruction::GlobalSet64(global_index), |
| 188 | OperandSize::S128 => Instruction::GlobalSet128(global_index), |
| 189 | }) |
| 190 | } |
| 191 | } |
| 192 | |
| 193 | fn visit_drop(&mut self) -> Self::Output { |
| 194 | if let Some(Some(t)) = self.validator.get_operand_type(0) { |
nothing calls this directly
no test coverage detected