(&mut self, other: &Self)
| 120 | |
| 121 | impl AbstractDomain for MemoryUsage { |
| 122 | fn join(&mut self, other: &Self) -> JoinResult { |
| 123 | match ( |
| 124 | self.direct.join(&other.direct), |
| 125 | self.transitive.join(&other.transitive), |
| 126 | self.all.join(&other.all), |
| 127 | ) { |
| 128 | (JoinResult::Unchanged, JoinResult::Unchanged, JoinResult::Unchanged) => { |
| 129 | JoinResult::Unchanged |
| 130 | } |
| 131 | _ => JoinResult::Changed, |
| 132 | } |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | macro_rules! generate_inserter { |
no outgoing calls