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
|
let mut args: Vec<_> = self
|
||||||
.prefix
|
.prefix
|
||||||
.iter()
|
.iter()
|
||||||
.flat_map(|option_kind| {
|
.flat_map(|option_reg| {
|
||||||
option_kind.map(|kind| Reg { kind, size: self.prefix_chunk_size }.gcc_type(cx))
|
option_reg.map(|reg| reg.gcc_type(cx))
|
||||||
})
|
})
|
||||||
.chain((0..rest_count).map(|_| rest_gcc_unit))
|
.chain((0..rest_count).map(|_| rest_gcc_unit))
|
||||||
.collect();
|
.collect();
|
||||||
|
Loading…
Reference in New Issue
Block a user