| ... | ... | @@ -8030,7 +8030,8 @@ fn lowerFnRetTy(dg: *DeclGen, fn_info: Type.Payload.Function.Data) !*const llvm. |
| 8030 | 8030 | } |
| 8031 | 8031 | } |
| 8032 | 8032 | if (classes[0] == .integer and classes[1] == .none) { |
| 8033 | | return llvm_types_buffer[0]; |
| 8033 | const abi_size = fn_info.return_type.abiSize(target); |
| 8034 | return dg.context.intType(@intCast(c_uint, abi_size * 8)); |
| 8034 | 8035 | } |
| 8035 | 8036 | return dg.context.structType(&llvm_types_buffer, llvm_types_index, .False); |
| 8036 | 8037 | }, |
| ... | ... | @@ -8124,7 +8125,8 @@ fn lowerFnParamTy(dg: *DeclGen, cc: std.builtin.CallingConvention, ty: Type) !*c |
| 8124 | 8125 | } |
| 8125 | 8126 | } |
| 8126 | 8127 | if (classes[0] == .integer and classes[1] == .none) { |
| 8127 | | return llvm_types_buffer[0]; |
| 8128 | const abi_size = ty.abiSize(target); |
| 8129 | return dg.context.intType(@intCast(c_uint, abi_size * 8)); |
| 8128 | 8130 | } |
| 8129 | 8131 | return dg.context.structType(&llvm_types_buffer, llvm_types_index, .False); |
| 8130 | 8132 | }, |