1
Fork 0

cleanup misinformation regarding has_deref

This commit is contained in:
ouz-a 2023-08-05 12:02:39 +03:00
parent 5cbfee5455
commit 6df546281b
7 changed files with 23 additions and 17 deletions

View file

@ -839,7 +839,7 @@ impl Map {
tail_elem: Option<TrackElem>,
f: &mut impl FnMut(ValueIndex),
) {
if place.has_deref() {
if place.is_indirect_first_projection() {
// We do not track indirect places.
return;
}