1
Fork 0

Add a getter for the current state to DataflowResultsCursor

This commit is contained in:
Dylan MacKenzie 2019-08-29 20:47:45 -07:00
parent a44881d892
commit 606a31f46a

View file

@ -453,6 +453,10 @@ where
{
self.flow_state.each_gen_bit(f)
}
pub fn get(&self) -> &BitSet<BD::Idx> {
self.flow_state.as_dense()
}
}
pub fn state_for_location<'tcx, T: BitDenotation<'tcx>>(loc: Location,