Check whether the value is local with a particular index.
(&self, index: u32)
| 196 | |
| 197 | /// Check whether the value is local with a particular index. |
| 198 | pub fn is_local_at_index(&self, index: u32) -> bool { |
| 199 | match *self { |
| 200 | Self::Local(Local { index: i, .. }) if i == index => true, |
| 201 | _ => false, |
| 202 | } |
| 203 | } |
| 204 | |
| 205 | /// Get the register representation of the value. |
| 206 | /// |
no outgoing calls
no test coverage detected