Skip to content

Commit

Permalink
fix signature decoding for overdubbed functions
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Sep 24, 2019
1 parent e02eb92 commit 8f58183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/irgen.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function backtrace(job::CompilerJob, call_stack::Vector{Core.MethodInstance})
# calls to overdub directly, the backtrace therefore is collapsed and we have to
# lookup the overdubbed function, but only if we likely are using the generated variant.
actual_sig = Tuple{method_instance.specTypes.parameters[3:end]...}
m = ccall(:jl_gf_invoke_lookup, Any, (Any, UInt), tt, typemax(UInt))
m = ccall(:jl_gf_invoke_lookup, Any, (Any, UInt), actual_sig, typemax(UInt))
method = m.func::Method
end
frame = StackTraces.StackFrame(method.name, method.file, method.line)
Expand Down

0 comments on commit 8f58183

Please sign in to comment.