128-bit value passing code

This commit is contained in:
Folkert 2023-04-26 22:19:47 +02:00
parent f6ebeff298
commit b648507a91
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -657,6 +657,10 @@ impl X64_64SystemVLoadArgs {
storage_manager.complex_stack_arg(&sym, self.argument_offset, stack_size);
self.argument_offset += stack_size as i32;
}
Layout::Builtin(Builtin::Int(IntWidth::U128 | IntWidth::I128)) => {
storage_manager.complex_stack_arg(&sym, self.argument_offset, stack_size);
self.argument_offset += stack_size as i32;
}
Layout::Union(UnionLayout::NonRecursive(_)) => {
// for now, just also store this on the stack
storage_manager.complex_stack_arg(&sym, self.argument_offset, stack_size);