]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_mir_dataflow/src/impls/liveness.rs
Auto merge of #97863 - JakobDegen:bitset-choice, r=nnethercote
[rust.git] / compiler / rustc_mir_dataflow / src / impls / liveness.rs
index 9b62ee5473c7b6b6459f2793101991646b60d014..35febb5d330601427cfeb3997b49b49d1c91069a 100644 (file)
@@ -30,14 +30,14 @@ fn transfer_function<'a, T>(&self, trans: &'a mut T) -> TransferFunction<'a, T>
 }
 
 impl<'tcx> AnalysisDomain<'tcx> for MaybeLiveLocals {
-    type Domain = BitSet<Local>;
+    type Domain = ChunkedBitSet<Local>;
     type Direction = Backward;
 
     const NAME: &'static str = "liveness";
 
     fn bottom_value(&self, body: &mir::Body<'tcx>) -> Self::Domain {
         // bottom = not live
-        BitSet::new_empty(body.local_decls.len())
+        ChunkedBitSet::new_empty(body.local_decls.len())
     }
 
     fn initialize_start_block(&self, _: &mir::Body<'tcx>, _: &mut Self::Domain) {