fix sparc64 ABI for aggregates with floating point members
This commit is contained in:
parent
a912fedd0f
commit
dcd48250d7
@ -48,8 +48,8 @@ fn gcc_type<'gcc>(&self, cx: &CodegenCx<'gcc, '_>) -> Type<'gcc> {
|
||||
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();
|
||||
|
Loading…
Reference in New Issue
Block a user