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:
Nicholas Nethercote 2023-11-24 11:14:00 +11:00
parent 5f5263bfc8
commit 500e55ba8c
4 changed files with 17 additions and 17 deletions

View file

@ -24,7 +24,7 @@ pub use self::framework::{
fmt, lattice, visit_results, Analysis, AnalysisDomain, Direction, GenKill, GenKillAnalysis,
JoinSemiLattice, MaybeReachable, Results, ResultsCursor, ResultsVisitable, ResultsVisitor,
};
use self::framework::{Backward, ResultsClonedCursor, SwitchIntEdgeEffects};
use self::framework::{Backward, SwitchIntEdgeEffects};
use self::move_paths::MoveData;
pub mod debuginfo;