Skip to content

Commit

Permalink
fix backedge restore list order in incremental serializer
Browse files Browse the repository at this point in the history
Ref #23012
(cherry picked from commit f1535ab)
  • Loading branch information
JeffBezanson authored and ararslan committed Sep 16, 2017
1 parent 516dbf3 commit 8411cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -1277,8 +1277,8 @@ static void jl_collect_backedges_to(jl_method_instance_t *caller, jl_array_t *di
jl_array_t **pcallees = (jl_array_t**)ptrhash_bp(&edges_map, (void*)caller),
*callees = *pcallees;
if (callees != HT_NOTFOUND) {
arraylist_push(to_restore, (void*)pcallees);
arraylist_push(to_restore, (void*)callees);
arraylist_push(to_restore, (void*)pcallees);
*pcallees = (jl_array_t*) HT_NOTFOUND;
jl_array_ptr_1d_append(direct_callees, callees);
size_t i, l = jl_array_len(callees);
Expand Down

0 comments on commit 8411cb8

Please sign in to comment.