Skip to content

Commit

Permalink
fix caller of partially_inline
Browse files Browse the repository at this point in the history
  • Loading branch information
jrevels committed Jun 20, 2018
1 parent fa0e841 commit 18b1f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/staged.jl
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ f22440kernel(::Type{T}) where {T<:AbstractFloat} = zero(T)
sig, spvals, method = Base._methods_by_ftype(Tuple{typeof(f22440kernel),y}, -1, typemax(UInt))[1]
code_info = Base.uncompressed_ast(method)
body = Expr(:block, code_info.code...)
Meta.partially_inline!(body, 0, Any[], sig, Any[spvals...], 0, :propagate)
Meta.partially_inline!(body, Any[], sig, Any[spvals...], 0, 0, :propagate)
return code_info
end

Expand Down

0 comments on commit 18b1f90

Please sign in to comment.