Skip to content

Commit c6d55a1

Browse files
committed
Call unspecialized generator in max world.
1 parent a789092 commit c6d55a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jitlayers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ void jl_generate_fptr_for_unspecialized_impl(jl_code_instance_t *unspec)
499499
// TODO: this is wrong
500500
assert(def->generator);
501501
// TODO: jl_code_for_staged can throw
502-
src = jl_code_for_staged(unspec->def, unspec->min_world);
502+
src = jl_code_for_staged(unspec->def, ~(size_t)0);
503503
}
504504
if (src && (jl_value_t*)src != jl_nothing)
505505
src = jl_uncompress_ir(def, NULL, (jl_array_t*)src);

0 commit comments

Comments
 (0)