We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bfb7fb commit 1bf65b9Copy full SHA for 1bf65b9
src/gf.c
@@ -2087,7 +2087,7 @@ JL_DLLEXPORT void jl_method_table_insert(jl_methtable_t *mt, jl_method_t *method
2087
}
2088
jl_array_ptr_1d_push(oldmi, (jl_value_t*)mi);
2089
invalidate_external(mi, max_world);
2090
- if (_jl_debug_method_invalidation) {
+ if (_jl_debug_method_invalidation && invalidated) {
2091
jl_array_ptr_1d_push(_jl_debug_method_invalidation, (jl_value_t*)mi);
2092
loctag = jl_cstr_to_string("jl_method_table_insert");
2093
jl_array_ptr_1d_push(_jl_debug_method_invalidation, loctag);
0 commit comments