Skip to content

Commit 1a1de9c

Browse files
committed
use params.max_world params.min_world in codegen
1 parent cd4ec73 commit 1a1de9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/codegen.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -9645,8 +9645,8 @@ void jl_compile_workqueue(
96459645
auto proto = it.second;
96469646
params.workqueue.pop_back();
96479647
// try to emit code for this item from the workqueue
9648-
assert(jl_atomic_load_relaxed(&codeinst->min_world) <= params.world &&
9649-
jl_atomic_load_relaxed(&codeinst->max_world) >= params.world &&
9648+
assert(jl_atomic_load_relaxed(&codeinst->min_world) <= params.min_world &&
9649+
jl_atomic_load_relaxed(&codeinst->max_world) >= params.max_world &&
96509650
"invalid world for code-instance");
96519651
StringRef preal_decl = "";
96529652
bool preal_specsig = false;

0 commit comments

Comments
 (0)