Skip to content

Commit

Permalink
fix #29083, not eliminating kwfunc due to logic error in builtin_nothrow
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Sep 7, 2018
1 parent 5c1d4a3 commit 3459b88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/compiler/tfuncs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@ function _builtin_nothrow(@nospecialize(f), argtypes::Array{Any,1}, @nospecializ
length(argtypes) == 1 || return false
return sizeof_nothrow(argtypes[1])
elseif f === Core.kwfunc
length(argtypes) == 2 || return false
length(argtypes) == 1 || return false
return isa(rt, Const)
end
return false
Expand Down

0 comments on commit 3459b88

Please sign in to comment.