diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-12-05 15:05:42 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-12-09 08:53:35 +1100 |
| commit | fa6ceba208fed892648679342fbf444d68385195 (patch) | |
| tree | 32cef7dc0bd05526c55d80a7266049230d0259cd /compiler/rustc_mir_dataflow/src/framework/lattice.rs | |
| parent | 34f45f0d8f0eb4a3dde0123a8daafc3c7f7e59f3 (diff) | |
| download | rust-fa6ceba208fed892648679342fbf444d68385195.tar.gz rust-fa6ceba208fed892648679342fbf444d68385195.zip | |
Remove `ChunkedBitSet` impls that are no longer needed.
`ChunkedBitSet` is no longer used directly by dataflow analyses, with `MixedBitSet` replacing it in those contexts.
Diffstat (limited to 'compiler/rustc_mir_dataflow/src/framework/lattice.rs')
| -rw-r--r-- | compiler/rustc_mir_dataflow/src/framework/lattice.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/compiler/rustc_mir_dataflow/src/framework/lattice.rs b/compiler/rustc_mir_dataflow/src/framework/lattice.rs index 852099e2ac8..e063eaf74bd 100644 --- a/compiler/rustc_mir_dataflow/src/framework/lattice.rs +++ b/compiler/rustc_mir_dataflow/src/framework/lattice.rs @@ -40,7 +40,7 @@ use std::iter; -use rustc_index::bit_set::{BitSet, ChunkedBitSet, MixedBitSet}; +use rustc_index::bit_set::{BitSet, MixedBitSet}; use rustc_index::{Idx, IndexVec}; use crate::framework::BitSetExt; @@ -126,12 +126,6 @@ impl<T: Idx> JoinSemiLattice for BitSet<T> { } } -impl<T: Idx> JoinSemiLattice for ChunkedBitSet<T> { - fn join(&mut self, other: &Self) -> bool { - self.union(other) - } -} - impl<T: Idx> JoinSemiLattice for MixedBitSet<T> { fn join(&mut self, other: &Self) -> bool { self.union(other) |
