Skip to content

Commit

Permalink
Update jitrules.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Jun 14, 2024
1 parent 2020e20 commit ab7cee5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rules/jitrules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ end
BatchMixedDuplicated(arg, ntuple(Val(Width)) do j
Base.@_inline_meta
darg = Base.inferencebarrier(dargs[j][i])
MixedDuplicated(arg, push_if_not_ref(Val(reverse), vals, darg, ty)::Base.RefValue{ty})
push_if_not_ref(Val(reverse), vals, darg, ty)::Base.RefValue{ty}
end)
else
BatchDuplicated(arg, ntuple(Val(Width)) do j
Expand Down
2 changes: 1 addition & 1 deletion src/rules/typeunstablerules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ function rt_jl_getfield_rev(dptr::T, dret, ::Type{Val{symname}}, ::Val{isconst},
else
Base.getfield(dptrs[i], symname)
end
setfield!(dptrs[i], symname, recursive_add(curi, dret[1+i][]), identity, guaranteed_nonactive)
setfield!(dptrs[i], symname, recursive_add(curi, dret[1+i][], identity, guaranteed_nonactive))
end
end
end
Expand Down

0 comments on commit ab7cee5

Please sign in to comment.