Skip to content

Commit 72dc55c

Browse files
committed
also make get_offsets user-definable
1 parent fccbcaa commit 72dc55c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4720,7 +4720,7 @@ end
47204720
)
47214721
if offset < sizeof(jTy) && isa(sz, LLVM.ConstantInt) && sizeof(jTy) - offset >= convert(Int, sz)
47224722
lim = convert(Int, sz)
4723-
md = to_fullmd(jTy, offset, lim)
4723+
md = Core._call_in_world_total(job.world, to_fullmd, jTy, offset, lim)
47244724
@assert byref == GPUCompiler.BITS_REF ||
47254725
byref == GPUCompiler.MUT_REF
47264726
metadata(inst)["enzyme_truetype"] = md

0 commit comments

Comments
 (0)