Skip to content

Commit 9931987

Browse files
committed
fix debug typo in "add missing invoke edge for nospecialize targets (#51036)"
Causes `matches` to get replaced with `MethodMatch` instead, which then later will fail to match with the expected value.
1 parent 631b5c3 commit 9931987

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/staticdata_utils.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ static void jl_collect_edges(jl_array_t *edges, jl_array_t *ext_targets, jl_arra
510510
#ifndef NDEBUG
511511
jl_methtable_t *mt = jl_method_get_table(m);
512512
if ((jl_value_t*)mt != jl_nothing) {
513-
matches = jl_gf_invoke_lookup_worlds(invokeTypes, (jl_value_t*)mt, world, &min_valid, &max_valid);
513+
jl_value_t *matches = jl_gf_invoke_lookup_worlds(invokeTypes, (jl_value_t*)mt, world, &min_valid, &max_valid);
514514
if (matches != jl_nothing) {
515515
assert(m == ((jl_method_match_t*)matches)->method);
516516
}

0 commit comments

Comments
 (0)