Skip to content

Commit 73313f2

Browse files
authored
Merge pull request #26345 from JuliaLang/jb/miscissues
fix inference bootstrap issue
2 parents 8613942 + dcaf18b commit 73313f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

base/compiler/bootstrap.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# especially try to make sure any recursive and leaf functions have concrete signatures,
66
# since we won't be able to specialize & infer them at runtime
77

8-
let fs = Any[typeinf_ext, typeinf, typeinf_edge, pure_eval_call],
8+
let fs = Any[typeinf_ext, typeinf, typeinf_edge, pure_eval_call, optimize],
99
world = ccall(:jl_get_world_counter, UInt, ())
1010
for x in T_FFUNC_VAL
1111
push!(fs, x[3])

src/dump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2315,7 +2315,7 @@ JL_DLLEXPORT int jl_save_incremental(const char *fname, jl_array_t *worklist)
23152315
{
23162316
char *tmpfname = strcat(strcpy((char *) alloca(strlen(fname)+8), fname), ".XXXXXX");
23172317
ios_t f;
2318-
jl_array_t *mod_array, *udeps = NULL;
2318+
jl_array_t *mod_array = NULL, *udeps = NULL;
23192319
if (ios_mkstemp(&f, tmpfname) == NULL) {
23202320
jl_printf(JL_STDERR, "Cannot open cache file \"%s\" for writing.\n", tmpfname);
23212321
return 1;

0 commit comments

Comments
 (0)