Skip to content

Commit 7cebe77

Browse files
committed
also make get_offsets user-definable
1 parent 7d77b22 commit 7cebe77

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
@@ -4792,7 +4792,7 @@ end
47924792
)
47934793
if offset < sizeof(jTy) && isa(sz, LLVM.ConstantInt) && sizeof(jTy) - offset >= convert(Int, sz)
47944794
lim = convert(Int, sz)
4795-
md = to_fullmd(jTy, offset, lim)
4795+
md = Core._call_in_world_total(job.world, to_fullmd, jTy, offset, lim)
47964796
@assert byref == GPUCompiler.BITS_REF ||
47974797
byref == GPUCompiler.MUT_REF
47984798
metadata(inst)["enzyme_truetype"] = md

0 commit comments

Comments
 (0)