Skip to content

Commit

Permalink
Fix jl_global_roots_table
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed Sep 29, 2022
1 parent cc4ae8f commit 2e1d18a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/staticdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -2108,6 +2108,7 @@ static void jl_save_system_image_to_stream(ios_t *f, jl_array_t *worklist) JL_GC
jl_value_t *tag = *tags[i];
jl_serialize_value(&s, tag);
}
jl_serialize_value(&s, jl_global_roots_table);
} else {
// To ensure we don't have to manually update the list, go through all tags and queue any that are not otherwise
// judged to be externally-linked
Expand All @@ -2120,7 +2121,6 @@ static void jl_save_system_image_to_stream(ios_t *f, jl_array_t *worklist) JL_GC
// Queue the worklist itself as the first item we serialize
jl_serialize_value(&s, worklist);
}
jl_serialize_value(&s, jl_global_roots_table);
jl_serialize_reachable(&s);
// step 1.1: check for values only found in the generated code
arraylist_t typenames;
Expand Down

0 comments on commit 2e1d18a

Please sign in to comment.