Add release pseudo-instruction

This commit is contained in:
Andrew Morris
2023-06-30 10:04:08 +10:00
parent 4005510bf2
commit da94fcb947
6 changed files with 28 additions and 13 deletions

View File

@@ -123,7 +123,7 @@ impl FnState {
Instruction::Next(_, _) => {}
Instruction::UnpackIterRes(_, _, _) => {}
},
FnLine::Label(..) | FnLine::Empty | FnLine::Comment(..) => {}
FnLine::Label(..) | FnLine::Empty | FnLine::Comment(..) | FnLine::Release(..) => {}
}
}
@@ -285,6 +285,9 @@ impl FnState {
},
FnLine::Label(..) => self.clear(),
FnLine::Empty | FnLine::Comment(..) => {}
FnLine::Release(_reg) => {
// TODO
}
}
}