add access to HeapVarDict to the printer.

This commit is contained in:
Mark Thom
2018-05-04 20:51:02 -06:00
parent afc5736418
commit c369ce9a7f
4 changed files with 47 additions and 16 deletions

View File

@@ -184,6 +184,14 @@ pub struct HCDerefAcyclicIterator<HCIter> {
seen: HashSet<Addr>
}
pub type HCDerefAcyclicPreOrderIterator<'a> = HCDerefAcyclicIterator<HCPreOrderIterator<'a>>;
impl<'a> HCPreOrderIterator<'a> {
pub fn deref_acyclic_iter(self) -> HCDerefAcyclicPreOrderIterator<'a> {
HCDerefAcyclicIterator::new(self)
}
}
impl<HCIter: MutStackHCIterator> HCDerefAcyclicIterator<HCIter>
{
pub fn new(iter: HCIter) -> Self {