Skip to content

Commit ed0e97e

Browse files
authored
Merge pull request #42 from aminya/create-pull-request/SnoopCompile
[AUTO] Update precompile_*.jl file
2 parents f259cd0 + eb984a7 commit ed0e97e

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
function _precompile_()
2+
ccall(:jl_generating_output, Cint, ()) == 1 || return nothing
3+
precompile(Tuple{typeof(AcuteML.amlCreate),Expr,Array{Union{Expr, Symbol},1},Array{Any,1},Array{Union{Missing, Expr, Symbol, Type},1},Array{Union{Expr, Symbol},1},Array{Union{Missing, String},1},Array{Union{Missing, Function, Symbol},1},Array{Int64,1},String,Int64,Array{Union{Missing, Function, Symbol},0},Bool,Symbol})
4+
precompile(Tuple{typeof(AcuteML.amlParse),Expr})
5+
end

src/AcuteML.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ macro ns_str(s)
346346
end
347347
################################################################
348348

349-
#include("../deps/SnoopCompile/precompile/precompile_AcuteML.jl")
350-
#_precompile_()
349+
include("../deps/SnoopCompile/precompile/precompile_AcuteML.jl")
350+
_precompile_()
351351

352352
end

0 commit comments

Comments
 (0)