Skip to content

Commit 9bc5dac

Browse files
committed
Add caller from dump.c
1 parent f36931f commit 9bc5dac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/dump.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2294,7 +2294,7 @@ static void jl_insert_methods(jl_array_t *list)
22942294
}
22952295
}
22962296

2297-
extern int jl_debug_method_invalidation;
2297+
extern jl_array_t *_jl_debug_method_invalidation;
22982298

22992299
// verify that these edges intersect with the same methods as before
23002300
static void jl_verify_edges(jl_array_t *targets, jl_array_t **pvalids)
@@ -2386,9 +2386,9 @@ static void jl_insert_backedges(jl_array_t *list, jl_array_t *targets)
23862386
}
23872387
}
23882388
else {
2389-
if (jl_debug_method_invalidation) {
2390-
jl_static_show(JL_STDOUT, (jl_value_t*)caller);
2391-
jl_uv_puts(JL_STDOUT, "<<<\n", 4);
2389+
if (_jl_debug_method_invalidation) {
2390+
jl_array_ptr_1d_push(_jl_debug_method_invalidation, (jl_value_t*)caller);
2391+
jl_array_ptr_1d_push(_jl_debug_method_invalidation, jl_cstr_to_string("insert_backedges"));
23922392
}
23932393
}
23942394
}

0 commit comments

Comments
 (0)