Skip to content

Commit

Permalink
staticdata edges: fix missing visiting clearing during cycle handling (
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash authored Nov 18, 2024
1 parent 0990665 commit 83ef112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/staticdata_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ static int jl_verify_method(jl_code_instance_t *codeinst, size_t *minworld, size
if (*maxworld != 0)
jl_atomic_store_relaxed(&child->min_world, *minworld);
jl_atomic_store_relaxed(&child->max_world, *maxworld);
void **bp = ptrhash_bp(visiting, codeinst);
void **bp = ptrhash_bp(visiting, child);
assert(*bp == (char*)HT_NOTFOUND + stack->len + 1);
*bp = HT_NOTFOUND;
if (_jl_debug_method_invalidation && *maxworld < current_world) {
Expand Down

0 comments on commit 83ef112

Please sign in to comment.