| ... | @@ -3639,7 +3639,7 @@ fn zirResolveInferredAlloc(sema: *Sema, block: *Block, inst: Zir.Inst.Index) Com | ... | @@ -3639,7 +3639,7 @@ fn zirResolveInferredAlloc(sema: *Sema, block: *Block, inst: Zir.Inst.Index) Com |
| 3639 | const final_elem_ty = try decl.ty.copy(sema.arena); | 3639 | const final_elem_ty = try decl.ty.copy(sema.arena); |
| 3640 | const final_ptr_ty = try Type.ptr(sema.arena, sema.mod, .{ | 3640 | const final_ptr_ty = try Type.ptr(sema.arena, sema.mod, .{ |
| 3641 | .pointee_type = final_elem_ty, | 3641 | .pointee_type = final_elem_ty, |
| 3642 | .mutable = var_is_mut, | 3642 | .mutable = true, |
| 3643 | .@"align" = iac.data.alignment, | 3643 | .@"align" = iac.data.alignment, |
| 3644 | .@"addrspace" = target_util.defaultAddressSpace(target, .local), | 3644 | .@"addrspace" = target_util.defaultAddressSpace(target, .local), |
| 3645 | }); | 3645 | }); |
| ... | @@ -3663,7 +3663,7 @@ fn zirResolveInferredAlloc(sema: *Sema, block: *Block, inst: Zir.Inst.Index) Com | ... | @@ -3663,7 +3663,7 @@ fn zirResolveInferredAlloc(sema: *Sema, block: *Block, inst: Zir.Inst.Index) Com |
| 3663 | | 3663 | |
| 3664 | const final_ptr_ty = try Type.ptr(sema.arena, sema.mod, .{ | 3664 | const final_ptr_ty = try Type.ptr(sema.arena, sema.mod, .{ |
| 3665 | .pointee_type = final_elem_ty, | 3665 | .pointee_type = final_elem_ty, |
| 3666 | .mutable = var_is_mut, | 3666 | .mutable = true, |
| 3667 | .@"align" = inferred_alloc.data.alignment, | 3667 | .@"align" = inferred_alloc.data.alignment, |
| 3668 | .@"addrspace" = target_util.defaultAddressSpace(target, .local), | 3668 | .@"addrspace" = target_util.defaultAddressSpace(target, .local), |
| 3669 | }); | 3669 | }); |