|
1 | 1 | function _precompile_()
|
2 | 2 | ccall(:jl_generating_output, Cint, ()) == 1 || return nothing
|
3 |
| - @assert precompile(Tuple{typeof(detect_bedgraph),IOStream}) |
4 |
| - @assert precompile(Tuple{typeof(detect_noometiff),IOStream}) |
5 |
| - @assert precompile(Tuple{typeof(detect_rdata),IOStream}) |
6 |
| - @assert precompile(Tuple{typeof(detect_rdata_single),IOStream}) |
7 |
| - @assert precompile(Tuple{typeof(detectwav),IOStream}) |
| 3 | + precompile(Tuple{typeof(detect_bedgraph),IOStream}) |
| 4 | + precompile(Tuple{typeof(detect_noometiff),IOStream}) |
| 5 | + precompile(Tuple{typeof(detect_rdata),IOStream}) |
| 6 | + precompile(Tuple{typeof(detect_rdata_single),IOStream}) |
| 7 | + precompile(Tuple{typeof(detectwav),IOStream}) |
8 | 8 |
|
9 |
| - @assert precompile(Tuple{typeof(load),File}) |
10 |
| - @assert precompile(Tuple{typeof(load),Formatted}) |
11 |
| - @assert precompile(Tuple{typeof(load),String}) |
12 |
| - @assert precompile(Tuple{typeof(FileIO.load_filename),Formatted,String}) |
| 9 | + precompile(Tuple{typeof(load),File}) |
| 10 | + precompile(Tuple{typeof(load),Formatted}) |
| 11 | + precompile(Tuple{typeof(load),String}) |
| 12 | + precompile(Tuple{typeof(FileIO.load_filename),Formatted,String}) |
13 | 13 | if isdefined(Base, :bodyfunction)
|
14 | 14 | fbody = Base.bodyfunction(which(FileIO.load_filename, (Formatted, String)))
|
15 |
| - @assert precompile(fbody, (Any, typeof(FileIO.load_filename), Formatted, String)) |
16 |
| - @assert precompile(fbody, (Any, typeof(FileIO.load_filename), Formatted, String, Vararg{Any,100})) |
| 15 | + precompile(fbody, (Any, typeof(FileIO.load_filename), Formatted, String)) |
| 16 | + precompile(fbody, (Any, typeof(FileIO.load_filename), Formatted, String, Vararg{Any,100})) |
17 | 17 | end
|
18 | 18 |
|
19 |
| - @assert precompile(Tuple{typeof(query),String}) |
20 |
| - @assert precompile(Tuple{typeof(query),IOStream}) |
21 |
| - @assert precompile(Tuple{typeof(query),IOStream,String}) |
22 |
| - @assert precompile(Tuple{typeof(query),IOStream,Nothing}) |
| 19 | + precompile(Tuple{typeof(query),String}) |
| 20 | + precompile(Tuple{typeof(query),IOStream}) |
| 21 | + precompile(Tuple{typeof(query),IOStream,String}) |
| 22 | + precompile(Tuple{typeof(query),IOStream,Nothing}) |
23 | 23 |
|
24 |
| - @assert precompile(Tuple{typeof(hasfunction),Function}) |
25 |
| - @assert precompile(Tuple{typeof(hasmagic),Function}) |
| 24 | + precompile(Tuple{typeof(hasfunction),Function}) |
| 25 | + precompile(Tuple{typeof(hasmagic),Function}) |
26 | 26 |
|
27 |
| - @assert precompile(Tuple{typeof(applicable_loaders),Type{<:DataFormat}}) |
28 |
| - @assert precompile(Tuple{typeof(applicable_loaders),Formatted}) |
29 |
| - @assert precompile(Tuple{typeof(applicable_savers),Type{<:DataFormat}}) |
30 |
| - @assert precompile(Tuple{typeof(applicable_savers),Formatted}) |
31 |
| - @assert precompile(Tuple{typeof(add_loader),Type{<:DataFormat},Symbol}) |
32 |
| - @assert precompile(Tuple{typeof(add_saver),Type{<:DataFormat},Symbol}) |
| 27 | + precompile(Tuple{typeof(applicable_loaders),Type{<:DataFormat}}) |
| 28 | + precompile(Tuple{typeof(applicable_loaders),Formatted}) |
| 29 | + precompile(Tuple{typeof(applicable_savers),Type{<:DataFormat}}) |
| 30 | + precompile(Tuple{typeof(applicable_savers),Formatted}) |
| 31 | + precompile(Tuple{typeof(add_loader),Type{<:DataFormat},Symbol}) |
| 32 | + precompile(Tuple{typeof(add_saver),Type{<:DataFormat},Symbol}) |
33 | 33 |
|
34 |
| - @assert precompile(Tuple{typeof(iter_eq),Array{UInt8,1},NTuple{10,UInt8}}) |
35 |
| - @assert precompile(Tuple{typeof(iter_eq),Array{UInt8,1},NTuple{20,UInt8}}) |
36 |
| - @assert precompile(Tuple{typeof(iter_eq),Array{UInt8,1},NTuple{30,UInt8}}) |
37 |
| - @assert precompile(Tuple{typeof(iter_eq),Array{UInt8,1},NTuple{32,UInt8}}) |
38 |
| - @assert precompile(Tuple{typeof(iter_eq),Array{UInt8,1},NTuple{35,UInt8}}) |
39 |
| - @assert precompile(Tuple{typeof(iter_eq),Array{UInt8,1},NTuple{4,UInt8}}) |
40 |
| - @assert precompile(Tuple{typeof(iter_eq),Array{UInt8,1},NTuple{6,UInt8}}) |
41 |
| - @assert precompile(Tuple{typeof(iter_eq),Array{UInt8,1},NTuple{7,UInt8}}) |
42 |
| - @assert precompile(Tuple{typeof(iter_eq),Array{UInt8,1},NTuple{8,UInt8}}) |
43 |
| - @assert precompile(Tuple{typeof(iter_eq),Array{UInt8,1},Tuple{UInt8,UInt8,UInt8}}) |
44 |
| - @assert precompile(Tuple{typeof(iter_eq),Array{UInt8,1},Tuple{UInt8,UInt8}}) |
| 34 | + precompile(Tuple{typeof(iter_eq),Array{UInt8,1},NTuple{10,UInt8}}) |
| 35 | + precompile(Tuple{typeof(iter_eq),Array{UInt8,1},NTuple{20,UInt8}}) |
| 36 | + precompile(Tuple{typeof(iter_eq),Array{UInt8,1},NTuple{30,UInt8}}) |
| 37 | + precompile(Tuple{typeof(iter_eq),Array{UInt8,1},NTuple{32,UInt8}}) |
| 38 | + precompile(Tuple{typeof(iter_eq),Array{UInt8,1},NTuple{35,UInt8}}) |
| 39 | + precompile(Tuple{typeof(iter_eq),Array{UInt8,1},NTuple{4,UInt8}}) |
| 40 | + precompile(Tuple{typeof(iter_eq),Array{UInt8,1},NTuple{6,UInt8}}) |
| 41 | + precompile(Tuple{typeof(iter_eq),Array{UInt8,1},NTuple{7,UInt8}}) |
| 42 | + precompile(Tuple{typeof(iter_eq),Array{UInt8,1},NTuple{8,UInt8}}) |
| 43 | + precompile(Tuple{typeof(iter_eq),Array{UInt8,1},Tuple{UInt8,UInt8,UInt8}}) |
| 44 | + precompile(Tuple{typeof(iter_eq),Array{UInt8,1},Tuple{UInt8,UInt8}}) |
45 | 45 |
|
46 | 46 | if isdefined(Base, :bodyfunction)
|
47 | 47 | m = which(query, (String,))
|
48 | 48 | f = Base.bodyfunction(m)
|
49 |
| - @assert precompile(f, (Bool, typeof(query), String)) |
| 49 | + precompile(f, (Bool, typeof(query), String)) |
50 | 50 | m = which(load, (String,))
|
51 | 51 | f = Base.bodyfunction(m)
|
52 |
| - @assert precompile(f, (Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, typeof(load), String)) |
| 52 | + precompile(f, (Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, typeof(load), String)) |
53 | 53 | m = which(load, (Formatted,))
|
54 | 54 | f = Base.bodyfunction(m)
|
55 |
| - @assert precompile(f, (Any, typeof(load), Formatted)) |
56 |
| - @assert precompile(f, (Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, typeof(load), File)) |
| 55 | + precompile(f, (Any, typeof(load), Formatted)) |
| 56 | + precompile(f, (Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, typeof(load), File)) |
57 | 57 | end
|
58 | 58 |
|
59 | 59 | end
|
0 commit comments