llvm: fix lowering of avr_interrupt and m68k_interrupt callconvs

This commit is contained in:
mlugg 2024-10-15 20:42:42 +01:00
parent ed862b05ae
commit 1f11eed3d1
No known key found for this signature in database
GPG Key ID: 3F5B7DCCBF4AF02E

View File

@ -4645,8 +4645,6 @@ pub const Object = struct {
else => {},
.x86_64_interrupt,
.x86_interrupt,
.avr_interrupt,
.m68k_interrupt,
=> {
const child_type = try lowerType(o, Type.fromInterned(ptr_info.child));
try attributes.addParamAttr(llvm_arg_i, .{ .byval = child_type }, &o.builder);