Skip to content

Commit 69dba4a

Browse files
authored
Make parallel-moves resolver available publicly (#156)
We want to also use this functionality in ABI glue in Cranelift.
1 parent 1f08342 commit 69dba4a

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

fuzz/fuzz_targets/moves.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#![no_main]
77
use regalloc2::fuzzing::arbitrary::{Arbitrary, Result, Unstructured};
88
use regalloc2::fuzzing::fuzz_target;
9-
use regalloc2::fuzzing::moves::{MoveAndScratchResolver, ParallelMoves};
9+
use regalloc2::moves::{MoveAndScratchResolver, ParallelMoves};
1010
use regalloc2::{Allocation, PReg, RegClass, SpillSlot};
1111
use std::collections::{HashMap, HashSet};
1212

src/fuzzing/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ pub mod domtree {
1515
pub mod postorder {
1616
pub use crate::postorder::*;
1717
}
18-
pub mod moves {
19-
pub use crate::moves::*;
20-
}
2118
pub mod cfg {
2219
pub use crate::cfg::*;
2320
}

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pub(crate) mod cfg;
4343
pub(crate) mod domtree;
4444
pub mod indexset;
4545
pub(crate) mod ion;
46-
pub(crate) mod moves;
46+
pub mod moves;
4747
pub(crate) mod postorder;
4848
pub mod ssa;
4949

0 commit comments

Comments
 (0)