Skip to content

Commit f299191

Browse files
authored
Fix the scan for module usings field: use 4 as the step instead of 3 (#281)
Related: JuliaLang/julia#59859
1 parent 08a7160 commit f299191

File tree

3 files changed

+147
-92
lines changed

3 files changed

+147
-92
lines changed

mmtk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mmtk-julia"
3-
version = "0.31.0"
3+
version = "0.31.1"
44
authors = ["Eduardo Souza <[email protected]>", "Yi Lin <[email protected]>"]
55
build = "build.rs"
66
edition = "2018"

mmtk/src/julia_scanning.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ pub unsafe fn scan_julia_object<SV: SlotVisitor<JuliaVMSlot>>(obj: Address, clos
164164
println!(" - scan usings: {:?}\n", objary_begin);
165165
}
166166
process_slot(closure, objary_begin);
167-
objary_begin = objary_begin.shift::<Address>(3);
167+
objary_begin = objary_begin.shift::<Address>(4);
168168
}
169169
}
170170
} else if vtag_usize == ((jl_small_typeof_tags_jl_task_tag as usize) << 4) {

0 commit comments

Comments
 (0)