version bump
This commit is contained in:
@@ -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")?;
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user