streamline variable search in heap_print.rs

This commit is contained in:
Mark Thom
2018-05-06 22:10:51 -06:00
parent 885d7c04e3
commit 30926a71ab
2 changed files with 35 additions and 46 deletions

View File

@@ -122,7 +122,7 @@ impl MachineState {
-> Outputter
where Fmt: HCValueFormatter, Outputter: HCValueOutputter
{
let printer = HCPrinter::from_heap_locs_as_seen(&self, fmt, output, var_dir);
let printer = HCPrinter::from_heap_locs(&self, fmt, output, var_dir);
printer.print(addr)
}