making stack peeps compatible with parallel alias classes

This commit is contained in:
Jakub Doka 2024-10-28 12:39:26 +01:00
parent 948710dc27
commit 37db783699
No known key found for this signature in database
GPG key ID: C6E9A89936B8C143

View file

@ -1219,11 +1219,10 @@ impl Nodes {
} }
} }
let Some((dst, o)) = full_read_into else { continue }; let Some((dst, last_store)) = full_read_into else { continue };
let mut saved = Vc::default(); let mut saved = Vc::default();
let mut cursor = dst; let mut cursor = last_store;
cursor = *self[cursor].inputs.get(3).unwrap_or(&MEM);
while cursor != MEM && self[cursor].kind == Kind::Stre { while cursor != MEM && self[cursor].kind == Kind::Stre {
let mut contact_point = cursor; let mut contact_point = cursor;
let mut region = self[cursor].inputs[2]; let mut region = self[cursor].inputs[2];