From a7545afd4d0d17363018f3293de7dc545d28b0bb Mon Sep 17 00:00:00 2001 From: Jameson Nash Date: Thu, 14 Nov 2024 22:06:25 +0000 Subject: [PATCH] staticdata edges: fix missing visiting clearing during cycle handling --- src/staticdata_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/staticdata_utils.c b/src/staticdata_utils.c index 77e66c7459086..81c2e5cb18e32 100644 --- a/src/staticdata_utils.c +++ b/src/staticdata_utils.c @@ -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) {