fix functor! size calculations around indexing_code_ptr

This commit is contained in:
Mark Thom
2025-04-23 22:49:03 -07:00
committed by Mark Thom
parent 258244caf2
commit 706ffe7ad9
4 changed files with 20 additions and 21 deletions

View File

@@ -1092,7 +1092,7 @@ pub fn heap_bound_store(heap: &impl SizedHeap, value: HeapCellValue) -> HeapCell
}
#[allow(dead_code)]
pub fn print_heap_terms(heap: &Heap, h: usize) {
pub fn print_heap_terms(heap: &impl SizedHeap, h: usize) {
for idx in 0..heap.cell_len() {
let term = heap[idx];
println!("{} : {:?}", h + idx, term);