From 37db78369927413e6a13d35f0c693d47fc6d0103 Mon Sep 17 00:00:00 2001 From: Jakub Doka Date: Mon, 28 Oct 2024 12:39:26 +0100 Subject: [PATCH] making stack peeps compatible with parallel alias classes --- lang/src/son.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lang/src/son.rs b/lang/src/son.rs index 715e629..37b49a4 100644 --- a/lang/src/son.rs +++ b/lang/src/son.rs @@ -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 cursor = dst; - cursor = *self[cursor].inputs.get(3).unwrap_or(&MEM); + let mut cursor = last_store; while cursor != MEM && self[cursor].kind == Kind::Stre { let mut contact_point = cursor; let mut region = self[cursor].inputs[2];