Remove unused collect_parameter_slots

This function was no longer being called and was removed as part of a
refactoring.
This commit is contained in:
Michael Schimmel
2026-03-13 17:13:06 +01:00
parent 222fe64a1f
commit ef5c2367a7
2 changed files with 0 additions and 19 deletions
-18
View File
@@ -157,22 +157,4 @@ impl<'a> Inliner<'a> {
_ => {}
}
}
pub fn collect_parameter_slots(&self, node: &AnalyzedNode, sub: &mut SubstitutionMap) {
match &node.kind {
BoundKind::Define {
addr: Address::Local(slot),
..
} => {
sub.slot_mapping.insert(*slot, *slot);
sub.next_slot = sub.next_slot.max(slot.0 + 1);
}
BoundKind::Tuple { elements } => {
for el in elements {
self.collect_parameter_slots(el, sub);
}
}
_ => {}
}
}
}