some fixes in response to miri

This commit is contained in:
Mark Thom
2025-03-13 12:33:37 -07:00
committed by Mark Thom
parent 9daf016d63
commit 3dee07f648
5 changed files with 20 additions and 19 deletions

View File

@@ -228,7 +228,7 @@ impl Stack {
for idx in 0..num_cells {
ptr::write(
(new_ptr as usize + offset) as *mut HeapCellValue,
new_ptr.byte_add(offset) as *mut HeapCellValue,
stack_loc_as_cell!(OrFrame, b, idx),
);