Determines if the given expression is the compile time constant 0u128.
(&self)
| 310 | |
| 311 | /// Determines if the given expression is the compile time constant 0u128. |
| 312 | pub fn is_zero(&self) -> bool { |
| 313 | if let Expression::CompileTimeConstant(ConstantValue::Int(val)) = self { |
| 314 | return *val == 0; |
| 315 | } |
| 316 | false |
| 317 | } |
| 318 | |
| 319 | /// Adds any heap blocks found in the associated expression to the given set. |
| 320 | pub fn record_heap_blocks(&self, result: &mut HashSet<Rc<SymbolicValue>>) { |
no outgoing calls
no test coverage detected