Remove uses of ResultsClonedCursor.
By just cloning the entire `Results` in the one place where `ResultsClonedCursor` was used. This is extra allocations but the performance effect is negligible.
This commit is contained in:
@@ -31,6 +31,7 @@ use super::{
|
||||
pub type EntrySets<'tcx, A> = IndexVec<BasicBlock, <A as AnalysisDomain<'tcx>>::Domain>;
|
||||
|
||||
/// A dataflow analysis that has converged to fixpoint.
|
||||
#[derive(Clone)]
|
||||
pub struct Results<'tcx, A, E = EntrySets<'tcx, A>>
|
||||
where
|
||||
A: Analysis<'tcx>,
|
||||
|
||||
Reference in New Issue
Block a user