Skip to content

Commit 9c4ab66

Browse files
authored
Derive the deferred world from the parent one. (#776)
This allows invoking the compiler in a frozen world.
1 parent f427a3f commit 9c4ab66

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "GPUCompiler"
22
uuid = "61eb1bfa-7361-4325-ad38-22787b887f55"
3-
version = "1.8.2"
3+
version = "1.8.3"
44
authors = ["Tim Besard <tim.besard@gmail.com>"]
55

66
[workspace]

src/driver.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,8 @@ const __llvm_initialized = Ref(false)
238238
dyn_val
239239
else
240240
ft, tt = dyn_val
241-
dyn_src = methodinstance(ft, tt, tls_world_age())
242-
CompilerJob(dyn_src, job.config)
241+
dyn_src = methodinstance(ft, tt, job.world)
242+
CompilerJob(dyn_src, job.config, job.world)
243243
end
244244

245245
push!(get!(worklist, dyn_job, LLVM.CallInst[]), call)

0 commit comments

Comments
 (0)