Skip to content

Commit 2e1d18a

Browse files
committed
Fix jl_global_roots_table
1 parent cc4ae8f commit 2e1d18a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/staticdata.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2108,6 +2108,7 @@ static void jl_save_system_image_to_stream(ios_t *f, jl_array_t *worklist) JL_GC
21082108
jl_value_t *tag = *tags[i];
21092109
jl_serialize_value(&s, tag);
21102110
}
2111+
jl_serialize_value(&s, jl_global_roots_table);
21112112
} else {
21122113
// To ensure we don't have to manually update the list, go through all tags and queue any that are not otherwise
21132114
// judged to be externally-linked
@@ -2120,7 +2121,6 @@ static void jl_save_system_image_to_stream(ios_t *f, jl_array_t *worklist) JL_GC
21202121
// Queue the worklist itself as the first item we serialize
21212122
jl_serialize_value(&s, worklist);
21222123
}
2123-
jl_serialize_value(&s, jl_global_roots_table);
21242124
jl_serialize_reachable(&s);
21252125
// step 1.1: check for values only found in the generated code
21262126
arraylist_t typenames;

0 commit comments

Comments
 (0)