Skip to content

Commit

Permalink
go back to 1.6 version of precompile
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed Aug 10, 2021
1 parent 06a31a0 commit 139e09e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions base/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1926,13 +1926,7 @@ function precompile(@nospecialize(f), args::Tuple)
precompile(Tuple{Core.Typeof(f), args...})
end

function precompile(argt::Type)
success = ccall(:jl_compile_hint, Int32, (Any,), argt) != 0
if !success
@debug "Inactive precompile statement" maxlog=10 form=argt _module=nothing _file=nothing _line=0
end
return success
end
precompile(argt::Type) = ccall(:jl_compile_hint, Int32, (Any,), argt) != 0

precompile(include_package_for_output, (PkgId, String, Vector{String}, Vector{String}, Vector{String}, typeof(_concrete_dependencies), Nothing))
precompile(include_package_for_output, (PkgId, String, Vector{String}, Vector{String}, Vector{String}, typeof(_concrete_dependencies), String))
Expand Down

0 comments on commit 139e09e

Please sign in to comment.