Turn copy into moves during DSE.

This commit is contained in:
Camille GILLOT
2023-07-16 13:11:10 +00:00
parent b657dc555b
commit f5feb3e3ca
32 changed files with 129 additions and 31 deletions

View File

@@ -88,7 +88,7 @@ impl<'tcx> GenKillAnalysis<'tcx> for MaybeLiveLocals {
}
}
struct TransferFunction<'a, T>(&'a mut T);
pub struct TransferFunction<'a, T>(pub &'a mut T);
impl<'tcx, T> Visitor<'tcx> for TransferFunction<'_, T>
where