diff --git a/base/inference.jl b/base/inference.jl index dc07af2f2e5f5..840da1b351f5c 100644 --- a/base/inference.jl +++ b/base/inference.jl @@ -2245,8 +2245,7 @@ function inlineable(f::ANY, e::Expr, atype::ANY, sv::StaticVarInfo, enclosing_as end body = Expr(:block) - body.args = filter(x->!((isa(x,Expr) && is(x.head,:line)) || isa(x,LineNumberNode)), - ast.args[3].args::Array{Any,1}) + body.args = ast.args[3].args::Array{Any,1} cost::Int = 1000 if incompletematch cost *= 4