stage2 llvm: fix passing packed structs to callconv(.C) functions
Closes #12704
This commit is contained in:
@@ -9853,6 +9853,8 @@ const ParamTypeIterator = struct {
|
||||
.AnyFrame,
|
||||
.Vector,
|
||||
=> true,
|
||||
.Struct => ty.containerLayout() == .Packed,
|
||||
.Union => ty.containerLayout() == .Packed,
|
||||
|
||||
else => false,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user