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

staticdata: Fix typo in recursive edge revalidation #57383

Merged
merged 1 commit into from
Feb 13, 2025
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/staticdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -4390,7 +4390,7 @@ JL_DLLEXPORT void _jl_promote_ci_to_current(jl_code_instance_t *ci, size_t valid
jl_value_t *edge = jl_svecref(edges, i);
if (!jl_is_code_instance(edge))
continue;
_jl_promote_ci_to_current(ci, validated_world);
_jl_promote_ci_to_current((jl_code_instance_t *)edge, validated_world);
}
}

Expand Down
1 change: 1 addition & 0 deletions test/precompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2307,6 +2307,7 @@ precompile_test_harness("llvmcall validation") do load_path
@eval using LLVMCall
invokelatest() do
@test LLVMCall.do_llvmcall2() == UInt32(0)
@test first(methods(LLVMCall.do_llvmcall)).specializations.cache.max_world === typemax(UInt)
end
end

Expand Down