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));
|
*query_instr = Instruction::SetValue(RegType::Temp(*t));
|
||||||
} else {
|
} else {
|
||||||
*query_instr = Instruction::SetLocalValue(r);
|
*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,
|
self.iter.heap,
|
||||||
heap_bound_deref(self.iter.heap, cell),
|
heap_bound_deref(self.iter.heap, cell),
|
||||||
);
|
);
|
||||||
|
|
||||||
let cell = unmark_cell_bits!(cell);
|
let cell = unmark_cell_bits!(cell);
|
||||||
|
|
||||||
match self.var_names.get(&cell).cloned() {
|
match self.var_names.get(&cell).cloned() {
|
||||||
|
|||||||
Reference in New Issue
Block a user