version bump

This commit is contained in:
2025-12-13 00:35:31 -07:00
parent 9de59ee3b1
commit 378c7e18cd
8 changed files with 12 additions and 12 deletions

View File

@@ -30,7 +30,7 @@ impl<'a> Instructions<'a> {
pub fn into_inner(self) -> Vec<InstructionNode<'a>> {
self.0
}
pub fn write(self, writer: &mut BufWriter<dyn Write>) -> Result<(), std::io::Error> {
pub fn write<W: Write>(self, writer: &mut BufWriter<W>) -> Result<(), std::io::Error> {
for node in self.0 {
writer.write_all(node.to_string().as_bytes())?;
writer.write_all(b"\n")?;

View File

@@ -423,11 +423,6 @@ fn register_forwarding<'a>(
break;
}
// Reg15 is a return register.
if temp_reg == 15 {
break;
}
// If we hit a label/jump, we assume liveness might leak (conservative safety)
if matches!(
node.instruction,
@@ -871,4 +866,3 @@ fn remove_unreachable_code<'a>(
}
(output, changed)
}