Check whether the value is a register.
(&self)
| 172 | |
| 173 | /// Check whether the value is a register. |
| 174 | pub fn is_reg(&self) -> bool { |
| 175 | match *self { |
| 176 | Self::Reg(_) => true, |
| 177 | _ => false, |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | /// Check whether the value is a memory offset. |
| 182 | pub fn is_mem(&self) -> bool { |
no outgoing calls
no test coverage detected