Skip to content

Commit acd969c

Browse files
committed
fixup! fixup! WIP: Cache
1 parent 91012be commit acd969c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/execution.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,12 +253,12 @@ end
253253
if !ondisk_hit && path !== nothing && disk_cache_enabled()
254254
@debug "Writing out on-disk cache" job path
255255
mkpath(dirname(path))
256-
if haskey(asm[2].meta, :gv_to_value)
256+
if haskey(asm[2], :gv_to_value)
257257
# TODO: Serializer cannot handle Core.IntrinsicFunction
258258
# We kinda want Julia to serialize the values in `gv_to_value` in the pkgimg and us just having to store an index
259259
# for now we just empty them out
260260
# We would need to remove the initializers from LLVM IR as well to be correct, and then link these in at runtime
261-
empty!(asm[2].meta.gv_to_value)
261+
empty!(asm[2].gv_to_value)
262262
end
263263
entry = DiskCacheEntry(src.specTypes, cfg, asm)
264264

0 commit comments

Comments
 (0)