Skip to content

Commit 83ef112

Browse files
authored
staticdata edges: fix missing visiting clearing during cycle handling (JuliaLang#56574)
1 parent 0990665 commit 83ef112

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/staticdata_utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ static int jl_verify_method(jl_code_instance_t *codeinst, size_t *minworld, size
974974
if (*maxworld != 0)
975975
jl_atomic_store_relaxed(&child->min_world, *minworld);
976976
jl_atomic_store_relaxed(&child->max_world, *maxworld);
977-
void **bp = ptrhash_bp(visiting, codeinst);
977+
void **bp = ptrhash_bp(visiting, child);
978978
assert(*bp == (char*)HT_NOTFOUND + stack->len + 1);
979979
*bp = HT_NOTFOUND;
980980
if (_jl_debug_method_invalidation && *maxworld < current_world) {

0 commit comments

Comments
 (0)