Skip to content

Commit 48fc7d9

Browse files
committed
Auto merge of rust-lang#91003 - psumbera:sparc64-abi, r=nagisa
fix sparc64 ABI for aggregates with floating point members Fixes rust-lang#86163
2 parents 0d61135 + dcd4825 commit 48fc7d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/abi.rs

+2-2
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)