Skip to content

Commit 7c63da1

Browse files
committed
Commented out world age assertion to prevent intermittent precompiler failures, JuliaLang#29267
1 parent 3bc0d2f commit 7c63da1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/codegen.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,10 @@ jl_llvm_functions_t jl_compile_linfo(jl_method_instance_t **pli, jl_code_info_t
11061106
else if (!src) {
11071107
// If the caller didn't provide the source,
11081108
// try to infer it for ourself, but first, re-check if it's already compiled.
1109-
assert(li->min_world <= world && li->max_world >= world);
1109+
1110+
// Commented out assert on 10 Dec 2019,
1111+
// see https://github.com/JuliaLang/julia/issues/29498#issuecomment-427252403
1112+
// assert(li->min_world <= world && li->max_world >= world);
11101113
if ((params->cached && decls.functionObject != NULL) || li->invoke == jl_fptr_const_return)
11111114
goto locked_out;
11121115

0 commit comments

Comments
 (0)