Skip to content

Commit 35394a3

Browse files
committed
Also save signature triggering the invalidation
1 parent ab50cf8 commit 35394a3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/gf.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1739,6 +1739,9 @@ JL_DLLEXPORT void jl_method_table_insert(jl_methtable_t *mt, jl_method_t *method
17391739
for (i = 1; i < na; i += 2) {
17401740
jl_value_t *backedgetyp = backedges[i - 1];
17411741
if (!jl_has_empty_intersection(backedgetyp, (jl_value_t*)type)) {
1742+
if (_jl_debug_method_invalidation) {
1743+
jl_array_ptr_1d_push(_jl_debug_method_invalidation, (jl_value_t*)backedgetyp);
1744+
}
17421745
jl_method_instance_t *backedge = (jl_method_instance_t*)backedges[i];
17431746
invalidate_method_instance(backedge, max_world, 0);
17441747
invalidated = 1;

0 commit comments

Comments
 (0)