set_local_value does not make values safe (#1812)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user