From 5a14aac861377175d1700430f16f8b6958d720e7 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Fri, 17 Jul 2026 13:50:06 +0200 Subject: [PATCH] Update to CompilerCaching.jl 0.4. --- Project.toml | 2 +- src/jlgen.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index 36eed1c9..042856b2 100644 --- a/Project.toml +++ b/Project.toml @@ -32,7 +32,7 @@ NVPTX_LLVM_Backend_jll = "ef6e0fe3-e6ef-59c0-bde6-4989574699e0" [compat] AMDGPU_LLVM_Backend_jll = "22" -CompilerCaching = "0.3" +CompilerCaching = "0.4" ExprTools = "0.1" Highlights = "0.6" InteractiveUtils = "1" diff --git a/src/jlgen.jl b/src/jlgen.jl index 62f1f38d..d4820377 100644 --- a/src/jlgen.jl +++ b/src/jlgen.jl @@ -423,9 +423,9 @@ function compile_method_instance(@nospecialize(job::CompilerJob)) interp.code_cache end - # gather (CI, CodeInfo) pairs for jl_emit_native (1.12+) + # gather (CI, CodeInfo) pairs for jl_emit_native (1.12+). codeinfo_pairs = if VERSION >= v"1.12.0-DEV.1823" && root_ci !== nothing - CompilerCaching.get_codeinfos(root_ci) + CompilerCaching.get_codeinfos(interp, root_ci) else nothing end