Skip to content

Commit dcd4825

Browse files
committed
fix sparc64 ABI for aggregates with floating point members
1 parent a912fed commit dcd4825

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/abi.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ impl GccType for CastTarget {
4848
let mut args: Vec<_> = self
4949
.prefix
5050
.iter()
51-
.flat_map(|option_kind| {
52-
option_kind.map(|kind| Reg { kind, size: self.prefix_chunk_size }.gcc_type(cx))
51+
.flat_map(|option_reg| {
52+
option_reg.map(|reg| reg.gcc_type(cx))
5353
})
5454
.chain((0..rest_count).map(|_| rest_gcc_unit))
5555
.collect();

0 commit comments

Comments
 (0)