Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor fixes on test/precompile.jl #53476

Merged
merged 1 commit into from
Feb 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
minor fixes on test/precompile.jl
These changes are driven-by fixes I found during investigating into a
more complex issue related to precompilation with external abs int.
  • Loading branch information
aviatesk committed Feb 26, 2024
commit c37d1d5d29504c644b4870c21022a215d4bb366a
3 changes: 1 addition & 2 deletions test/precompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down