mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 08:04:50 +01:00
x86 codegen: handle spilled tuples
This commit is contained in:
parent
09e4fc4dcf
commit
d00aee021b
1 changed files with 4 additions and 0 deletions
|
|
@ -187021,6 +187021,10 @@ const Temp = struct {
|
|||
assert(src_regs.len - part_index == std.math.divCeil(u32, src_abi_size, 8) catch unreachable);
|
||||
break :part_ty .u64;
|
||||
},
|
||||
.tuple_type => |tuple_type| {
|
||||
assert(tuple_type.types.len == src_regs.len);
|
||||
break :part_ty .fromInterned(tuple_type.types.get(ip)[part_index]);
|
||||
},
|
||||
};
|
||||
const part_size: u31 = @intCast(part_ty.abiSize(zcu));
|
||||
const src_rc = src_reg.class();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue