diff --git a/base/compiler/bootstrap.jl b/base/compiler/bootstrap.jl index 66e2ea8c2ade8..4c04b7e84dbdf 100644 --- a/base/compiler/bootstrap.jl +++ b/base/compiler/bootstrap.jl @@ -5,7 +5,7 @@ # especially try to make sure any recursive and leaf functions have concrete signatures, # since we won't be able to specialize & infer them at runtime -let fs = Any[typeinf_ext, typeinf, typeinf_edge, pure_eval_call], +let fs = Any[typeinf_ext, typeinf, typeinf_edge, pure_eval_call, optimize], world = ccall(:jl_get_world_counter, UInt, ()) for x in T_FFUNC_VAL push!(fs, x[3]) diff --git a/src/dump.c b/src/dump.c index 03e195e9fc0a4..24a80f5a3d028 100644 --- a/src/dump.c +++ b/src/dump.c @@ -2315,7 +2315,7 @@ JL_DLLEXPORT int jl_save_incremental(const char *fname, jl_array_t *worklist) { char *tmpfname = strcat(strcpy((char *) alloca(strlen(fname)+8), fname), ".XXXXXX"); ios_t f; - jl_array_t *mod_array, *udeps = NULL; + jl_array_t *mod_array = NULL, *udeps = NULL; if (ios_mkstemp(&f, tmpfname) == NULL) { jl_printf(JL_STDERR, "Cannot open cache file \"%s\" for writing.\n", tmpfname); return 1;