Skip to content

Commit 69572ff

Browse files
committed
fix typo in gc_mark_memory8
1 parent 0735854 commit 69572ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2337,7 +2337,7 @@ STATIC_INLINE void gc_mark_memory8(jl_ptls_t ptls, jl_value_t *ary8_parent, jl_v
23372337
pushed_chunk = 1;
23382338
}
23392339
}
2340-
for (; ary8_begin < ary8_end; ary8_begin += elsize) {
2340+
for (; ary8_begin < scan_end; ary8_begin += elsize) {
23412341
for (uint8_t *pindex = elem_begin; pindex < elem_end; pindex++) {
23422342
jl_value_t **slot = &ary8_begin[*pindex];
23432343
new_obj = *slot;

0 commit comments

Comments
 (0)