Skip to content

Commit

Permalink
Restore 1.9+ setfield (#1383)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses authored Apr 5, 2024
1 parent edfb21f commit 55b7567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/llvmrules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function jlcall_augfwd(B, orig, gutils, normalR, shadowR, tapeR)
if in(name, ("ijl_f_getfield", "jl_f_getfield"))
return common_jl_getfield_augfwd(2, B, orig, gutils, normalR, shadowR, tapeR)
end
if in(name, ("ijl_s_getfield", "jl_s_getfield"))
if in(name, ("ijl_f_setfield", "jl_f_setfield"))
return common_setfield_augfwd(2, B, orig, gutils, normalR, shadowR, tapeR)
end
if in(name, ("ijl_f__apply_iterate", "jl_f__apply_iterate"))
Expand Down

0 comments on commit 55b7567

Please sign in to comment.