Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 948d024

Browse files
committed
fix sparc64 ABI for aggregates with floating point members
1 parent 7879119 commit 948d024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/abi/pass_mode.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ fn cast_target_to_abi_params(cast: CastTarget) -> SmallVec<[AbiParam; 2]> {
7171
.prefix
7272
.iter()
7373
.flatten()
74-
.map(|&kind| reg_to_abi_param(Reg { kind, size: cast.prefix_chunk_size }))
74+
.map(|&reg| reg_to_abi_param(reg))
7575
.chain((0..rest_count).map(|_| reg_to_abi_param(cast.rest.unit)))
7676
.collect::<SmallVec<_>>();
7777

0 commit comments

Comments
 (0)