From dee88472d20141a52deb58af9a29ce8e98343d51 Mon Sep 17 00:00:00 2001 From: Jamey Sharp Date: Mon, 29 Apr 2024 18:47:20 -0700 Subject: [PATCH] Revert "Make parallel-moves resolver available publicly (#156)" This reverts commit 69dba4a8b04c044b5c23aeea3be7648dc7d7d980. --- fuzz/fuzz_targets/moves.rs | 2 +- src/fuzzing/mod.rs | 3 +++ src/lib.rs | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/fuzz/fuzz_targets/moves.rs b/fuzz/fuzz_targets/moves.rs index 0cf4ae7c..f741e5ea 100644 --- a/fuzz/fuzz_targets/moves.rs +++ b/fuzz/fuzz_targets/moves.rs @@ -6,7 +6,7 @@ #![no_main] use regalloc2::fuzzing::arbitrary::{Arbitrary, Result, Unstructured}; use regalloc2::fuzzing::fuzz_target; -use regalloc2::moves::{MoveAndScratchResolver, ParallelMoves}; +use regalloc2::fuzzing::moves::{MoveAndScratchResolver, ParallelMoves}; use regalloc2::{Allocation, PReg, RegClass, SpillSlot}; use std::collections::{HashMap, HashSet}; diff --git a/src/fuzzing/mod.rs b/src/fuzzing/mod.rs index 1b05994f..4e5573fd 100644 --- a/src/fuzzing/mod.rs +++ b/src/fuzzing/mod.rs @@ -15,6 +15,9 @@ pub mod domtree { pub mod postorder { pub use crate::postorder::*; } +pub mod moves { + pub use crate::moves::*; +} pub mod cfg { pub use crate::cfg::*; } diff --git a/src/lib.rs b/src/lib.rs index 3fe8267b..3f73719e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -43,7 +43,7 @@ pub(crate) mod cfg; pub(crate) mod domtree; pub mod indexset; pub(crate) mod ion; -pub mod moves; +pub(crate) mod moves; pub(crate) mod postorder; pub mod ssa;