From 35cb8a556b1efd12b7052e48412590fe67bef3bf Mon Sep 17 00:00:00 2001 From: Shuhei Kadowaki <40514306+aviatesk@users.noreply.github.com> Date: Tue, 27 Feb 2024 15:12:46 +0900 Subject: [PATCH] minor fixes on test/precompile.jl (#53476) These changes are driven-by fixes I found during investigating into a more complex issue related to precompilation with external abs int. --- test/precompile.jl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/precompile.jl b/test/precompile.jl index ce7e9e77217b0..c06145cba8416 100644 --- a/test/precompile.jl +++ b/test/precompile.jl @@ -1723,7 +1723,6 @@ let newinterp_path = abspath("compiler/newinterp.jl") import SimpleModule: basic_caller, basic_callee module Custom - const CC = Core.Compiler include("$($newinterp_path)") @newinterp PrecompileInterpreter end @@ -1826,7 +1825,7 @@ let newinterp_path = abspath("compiler/newinterp.jl") using CustomAbstractInterpreterCaching2 cache_owner = Core.Compiler.cache_owner( CustomAbstractInterpreterCaching2.Custom.PrecompileInterpreter()) - let m = only(methods(CustomAbstractInterpreterCaching.basic_callee)) + let m = only(methods(CustomAbstractInterpreterCaching2.basic_callee)) mi = only(Base.specializations(m)) ci = mi.cache @test isdefined(ci, :next)