From ab7cee5966c41df265d4727e59af909b20b517c1 Mon Sep 17 00:00:00 2001 From: William Moses Date: Fri, 14 Jun 2024 08:45:30 -0400 Subject: [PATCH] Update jitrules.jl --- src/rules/jitrules.jl | 2 +- src/rules/typeunstablerules.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rules/jitrules.jl b/src/rules/jitrules.jl index fb8b34b831..f04145f7bc 100644 --- a/src/rules/jitrules.jl +++ b/src/rules/jitrules.jl @@ -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 diff --git a/src/rules/typeunstablerules.jl b/src/rules/typeunstablerules.jl index b295403a99..0b20dc77d4 100644 --- a/src/rules/typeunstablerules.jl +++ b/src/rules/typeunstablerules.jl @@ -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