From 9274f87ceac16063ce5b9818a3f3b388d39be693 Mon Sep 17 00:00:00 2001 From: Tim Holy Date: Thu, 21 Jul 2022 10:59:04 -0500 Subject: [PATCH] don't include subtype --- src/dump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dump.c b/src/dump.c index 2bea0f9c80384..9ed1992bf40ff 100644 --- a/src/dump.c +++ b/src/dump.c @@ -2324,7 +2324,7 @@ static void jl_insert_method_instances(jl_array_t *list) JL_GC_DISABLED // Is this still the method we'd be calling? jl_methtable_t *mt = jl_method_table_for(mi->specTypes); struct jl_typemap_assoc search = {(jl_value_t*)mi->specTypes, world, NULL, 0, ~(size_t)0}; - jl_typemap_entry_t *entry = jl_typemap_assoc_by_type(mt->defs, &search, /*offs*/0, /*subtype*/1); + jl_typemap_entry_t *entry = jl_typemap_assoc_by_type(mt->defs, &search, /*offs*/0, /*subtype*/0); if (entry) { jl_value_t *mworld = entry->func.value; if (jl_is_method(mworld) && mi->def.method != (jl_method_t*)mworld && jl_type_morespecific(((jl_method_t*)mworld)->sig, mi->def.method->sig)) { @@ -2338,7 +2338,7 @@ static void jl_insert_method_instances(jl_array_t *list) JL_GC_DISABLED j = get_next_backedge(mi->backedges, j, &invokeTypes, &caller); if (invokeTypes) { struct jl_typemap_assoc search = {invokeTypes, world, NULL, 0, ~(size_t)0}; - entry = jl_typemap_assoc_by_type(mt->defs, &search, /*offs*/0, /*subtype*/1); + entry = jl_typemap_assoc_by_type(mt->defs, &search, /*offs*/0, /*subtype*/0); if (entry) { jl_value_t *imworld = entry->func.value; if (jl_is_method(imworld) && mi->def.method == (jl_method_t*)imworld) {