Get the operand size of the immediate.
(&self)
| 1206 | |
| 1207 | /// Get the operand size of the immediate. |
| 1208 | pub fn size(&self) -> OperandSize { |
| 1209 | match self { |
| 1210 | Self::I32(_) | Self::F32(_) => OperandSize::S32, |
| 1211 | Self::I64(_) | Self::F64(_) => OperandSize::S64, |
| 1212 | Self::V128(_) => OperandSize::S128, |
| 1213 | } |
| 1214 | } |
| 1215 | |
| 1216 | /// Get a little endian representation of the immediate. |
| 1217 | /// |
no outgoing calls
no test coverage detected