Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Dec 15, 2024
1 parent 10c8379 commit 5030f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2139,7 +2139,7 @@ function create_abi_wrapper(
push!(realparms, val)
elseif T <: BatchDuplicatedFunc
Func = get_func(T)
funcspec = my_methodinstance(Mode == API.DEM_ForwardMode ? Forward : Reverse, Tuple{}, world)
funcspec = my_methodinstance(Mode == API.DEM_ForwardMode ? Forward : Reverse, Func, Tuple{}, world)
llvmf = nested_codegen!(Mode, mod, funcspec, world)
push!(function_attributes(llvmf), EnumAttribute("alwaysinline", 0))
Func_RT = return_type(interp, funcspec)
Expand Down

0 comments on commit 5030f93

Please sign in to comment.