Skip to content

Commit 0f0f8eb

Browse files
committed
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.
1 parent ba189d8 commit 0f0f8eb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/precompile.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1723,7 +1723,6 @@ let newinterp_path = abspath("compiler/newinterp.jl")
17231723
import SimpleModule: basic_caller, basic_callee
17241724

17251725
module Custom
1726-
const CC = Core.Compiler
17271726
include("$($newinterp_path)")
17281727
@newinterp PrecompileInterpreter
17291728
end
@@ -1822,7 +1821,7 @@ let newinterp_path = abspath("compiler/newinterp.jl")
18221821
using CustomAbstractInterpreterCaching2
18231822
cache_owner = Core.Compiler.cache_owner(
18241823
CustomAbstractInterpreterCaching2.Custom.PrecompileInterpreter())
1825-
let m = only(methods(CustomAbstractInterpreterCaching.basic_callee))
1824+
let m = only(methods(CustomAbstractInterpreterCaching2.basic_callee))
18261825
mi = only(Base.specializations(m))
18271826
ci = mi.cache
18281827
@test isdefined(ci, :next)

0 commit comments

Comments
 (0)