diff options
| author | bors <bors@rust-lang.org> | 2021-12-02 02:59:44 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-12-02 02:59:44 +0000 |
| commit | 48fc7d9351662fcd2c41cc64815b6d568698f76d (patch) | |
| tree | 263313c73df8bb12a9e2c403352d1738ca9d35fd | |
| parent | 0d61135280dbc452d6aad6e5b41796e7fd1bd625 (diff) | |
| parent | dcd48250d762632a581b032c256d391c0c8b133a (diff) | |
| download | rust-48fc7d9351662fcd2c41cc64815b6d568698f76d.tar.gz rust-48fc7d9351662fcd2c41cc64815b6d568698f76d.zip | |
Auto merge of #91003 - psumbera:sparc64-abi, r=nagisa
fix sparc64 ABI for aggregates with floating point members Fixes #86163
| -rw-r--r-- | src/abi.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/abi.rs b/src/abi.rs index 2bbb199c899..a8b1e70e2bb 100644 --- a/src/abi.rs +++ b/src/abi.rs @@ -48,8 +48,8 @@ impl GccType for CastTarget { let mut args: Vec<_> = self .prefix .iter() - .flat_map(|option_kind| { - option_kind.map(|kind| Reg { kind, size: self.prefix_chunk_size }.gcc_type(cx)) + .flat_map(|option_reg| { + option_reg.map(|reg| reg.gcc_type(cx)) }) .chain((0..rest_count).map(|_| rest_gcc_unit)) .collect(); |
