Skip to content

Commit d76cfe1

Browse files
committed
Avoid dynamic dispatch on collect_args
It's not entirely clear why this was being (unnecessarily?) specialized, but this prevents it from happening.
1 parent 22a8b2c commit d76cfe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interpret.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ function resolvefc(frame, @nospecialize(expr))
135135
error("unexpected ccall to ", expr)
136136
end
137137

138-
function collect_args(frame, call_expr; isfc=false)
138+
function collect_args(frame::Frame, call_expr::Expr; isfc::Bool=false)
139139
args = frame.framedata.callargs
140140
resize!(args, length(call_expr.args))
141141
mod = moduleof(frame)

0 commit comments

Comments
 (0)