set_local_value does not make values safe (#1812)

This commit is contained in:
Mark
2023-06-06 00:58:44 -06:00
parent 6093c2858d
commit 3c344b176b
2 changed files with 0 additions and 4 deletions

View File

@@ -357,9 +357,6 @@ impl UnsafeVarMarker {
*query_instr = Instruction::SetValue(RegType::Temp(*t));
} else {
*query_instr = Instruction::SetLocalValue(r);
self.safe_perm_vars.insert(p);
self.unsafe_perm_vars.remove(&p);
}
_ => {}
}

View File

@@ -848,7 +848,6 @@ impl<'a, Outputter: HCValueOutputter> HCPrinter<'a, Outputter> {
self.iter.heap,
heap_bound_deref(self.iter.heap, cell),
);
let cell = unmark_cell_bits!(cell);
match self.var_names.get(&cell).cloned() {