use super::{ Program, Address }; impl Program { pub(crate) fn remove_definition_addresses(&mut self) { for instr in &mut self.instructions { for arg in &mut instr.args { if let Address::Definitions(name) = arg { *arg = self.definitions[name].clone(); } } } } }