Check whether the value is a memory offset.
(&self)
| 180 | |
| 181 | /// Check whether the value is a memory offset. |
| 182 | pub fn is_mem(&self) -> bool { |
| 183 | match *self { |
| 184 | Self::Memory(_) => true, |
| 185 | _ => false, |
| 186 | } |
| 187 | } |
| 188 | |
| 189 | /// Check whether the value is a constant. |
| 190 | pub fn is_const(&self) -> bool { |
no outgoing calls
no test coverage detected