Add a getter for the current state to DataflowResultsCursor
This commit is contained in:
parent
a44881d892
commit
606a31f46a
1 changed files with 4 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue