@@ -4141,7 +4141,7 @@ static jl_cgval_t emit_setfield(jl_codectx_t &ctx,
41414141        size_t  fsz1 = jl_field_size (sty, idx0) - 1 ;
41424142        Value *ptindex = emit_ptrgep (ctx, addr, fsz1);
41434143        setNameWithField (ctx.emission_context , ptindex, get_objname, sty, idx0, Twine (" .tindex_ptr"  ));
4144-         return  union_store (ctx, addr, ptindex, rhs, cmp, jfty, tbaa, ctx .tbaa (). tbaa_unionselbyte ,
4144+         return  union_store (ctx, addr, ptindex, rhs, cmp, jfty, tbaa, strct .tbaa ,
41454145            Order, FailOrder,
41464146            needlock, issetfield, isreplacefield, isswapfield, ismodifyfield, issetfieldonce,
41474147            modifyop, fname);
@@ -4409,7 +4409,7 @@ static jl_cgval_t emit_new_struct(jl_codectx_t &ctx, jl_value_t *ty, size_t narg
44094409        undef_derived_strct (ctx, strct, sty, strctinfo.tbaa );
44104410        for  (size_t  i = nargs; i < nf; i++) {
44114411            if  (!jl_field_isptr (sty, i) && jl_is_uniontype (jl_field_type (sty, i))) {
4412-                 jl_aliasinfo_t  ai = jl_aliasinfo_t::fromTBAA (ctx, ctx .tbaa (). tbaa_unionselbyte );
4412+                 jl_aliasinfo_t  ai = jl_aliasinfo_t::fromTBAA (ctx, strctinfo .tbaa );
44134413                ai.decorateInst (ctx.builder .CreateAlignedStore (
44144414                        ConstantInt::get (getInt8Ty (ctx.builder .getContext ()), 0 ),
44154415                        emit_ptrgep (ctx, strct, jl_field_offset (sty, i) + jl_field_size (sty, i) - 1 ),
0 commit comments