@@ -3764,7 +3764,7 @@ static jl_cgval_t emit_setfield(jl_codectx_t &ctx,
37643764 emit_bitcast (ctx, addr, getInt8PtrTy (ctx.builder .getContext ())),
37653765 ConstantInt::get (ctx.types ().T_size , fsz1));
37663766 setNameWithField (ctx.emission_context , ptindex, get_objname, sty, idx0, Twine (" .tindex_ptr" ));
3767- return union_store (ctx, addr, ptindex, rhs, cmp, jfty, tbaa, ctx .tbaa (). tbaa_unionselbyte ,
3767+ return union_store (ctx, addr, ptindex, rhs, cmp, jfty, tbaa, strct .tbaa ,
37683768 Order, FailOrder,
37693769 needlock, issetfield, isreplacefield, isswapfield, ismodifyfield, issetfieldonce,
37703770 modifyop, fname);
@@ -4009,7 +4009,7 @@ static jl_cgval_t emit_new_struct(jl_codectx_t &ctx, jl_value_t *ty, size_t narg
40094009 undef_derived_strct (ctx, strct, sty, strctinfo.tbaa );
40104010 for (size_t i = nargs; i < nf; i++) {
40114011 if (!jl_field_isptr (sty, i) && jl_is_uniontype (jl_field_type (sty, i))) {
4012- jl_aliasinfo_t ai = jl_aliasinfo_t::fromTBAA (ctx, ctx .tbaa (). tbaa_unionselbyte );
4012+ jl_aliasinfo_t ai = jl_aliasinfo_t::fromTBAA (ctx, strctinfo .tbaa );
40134013 ai.decorateInst (ctx.builder .CreateAlignedStore (
40144014 ConstantInt::get (getInt8Ty (ctx.builder .getContext ()), 0 ),
40154015 ctx.builder .CreateInBoundsGEP (getInt8Ty (ctx.builder .getContext ()), emit_bitcast (ctx, strct, getInt8PtrTy (ctx.builder .getContext ())),
0 commit comments