From 170565550d866657e652c23ff04a379f0f05de28 Mon Sep 17 00:00:00 2001 From: Eduardo Souza Date: Mon, 21 Oct 2024 10:38:20 +0000 Subject: [PATCH] Updating to the latest master --- mmtk/src/julia_scanning.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mmtk/src/julia_scanning.rs b/mmtk/src/julia_scanning.rs index 9fd3aed..1859a6a 100644 --- a/mmtk/src/julia_scanning.rs +++ b/mmtk/src/julia_scanning.rs @@ -142,7 +142,7 @@ pub unsafe fn scan_julia_object>(obj: Address, clos process_offset_slot(closure, slot, offset); } - let nusings = (*m).usings.len; + let nusings = (*m).usings.len / 3; if nusings > 0 { let mut objary_begin = Address::from_mut_ptr((*m).usings.items); let objary_end = objary_begin.shift::
(nusings as isize); @@ -152,7 +152,7 @@ pub unsafe fn scan_julia_object>(obj: Address, clos println!(" - scan usings: {:?}\n", objary_begin); } process_slot(closure, objary_begin); - objary_begin = objary_begin.shift::
(1); + objary_begin = objary_begin.shift::
(3); } } } else if vtag_usize == ((jl_small_typeof_tags_jl_task_tag as usize) << 4) {