(&mut self, lhs: PlaceRef<'tcx>, rhs: PlaceRef<'tcx>)
| 261 | } |
| 262 | |
| 263 | fn add_load(&mut self, lhs: PlaceRef<'tcx>, rhs: PlaceRef<'tcx>) { |
| 264 | let lhs = ConstraintNode::Place(lhs); |
| 265 | let rhs = ConstraintNode::Place(rhs); |
| 266 | let lhs = self.get_or_insert_node(lhs); |
| 267 | let rhs = self.get_or_insert_node(rhs); |
| 268 | self.graph.add_edge(rhs, lhs, ConstraintEdge::Load); |
| 269 | } |
| 270 | |
| 271 | fn add_store(&mut self, lhs: PlaceRef<'tcx>, rhs: PlaceRef<'tcx>) { |
| 272 | let lhs = ConstraintNode::Place(lhs); |
no test coverage detected