Skip to content

Commit 35cb8a5

Browse files
authored
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 2e9b0bb commit 35cb8a5

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
@@ -1826,7 +1825,7 @@ let newinterp_path = abspath("compiler/newinterp.jl")
18261825
using CustomAbstractInterpreterCaching2
18271826
cache_owner = Core.Compiler.cache_owner(
18281827
CustomAbstractInterpreterCaching2.Custom.PrecompileInterpreter())
1829-
let m = only(methods(CustomAbstractInterpreterCaching.basic_callee))
1828+
let m = only(methods(CustomAbstractInterpreterCaching2.basic_callee))
18301829
mi = only(Base.specializations(m))
18311830
ci = mi.cache
18321831
@test isdefined(ci, :next)

0 commit comments

Comments
 (0)