| ... | ... | @@ -9150,7 +9150,7 @@ pub const FuncGen = struct { |
| 9150 | 9150 | // necessarily match the format that we need, depending on which tag is active. We |
| 9151 | 9151 | // must construct the correct unnamed struct type here and bitcast, in order to |
| 9152 | 9152 | // then set the fields appropriately. |
| 9153 | | const result_ptr = self.buildAlloca(union_llvm_ty, null); |
| 9153 | const result_ptr = self.buildAlloca(union_llvm_ty, layout.abi_align); |
| 9154 | 9154 | const llvm_payload = try self.resolveInst(extra.init); |
| 9155 | 9155 | assert(union_obj.haveFieldTypes()); |
| 9156 | 9156 | const field = union_obj.fields.values()[extra.field_index]; |