mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
parent
74900e938a
commit
a6d444c271
1 changed files with 4 additions and 0 deletions
|
|
@ -183533,6 +183533,10 @@ const Temp = struct {
|
|||
assert(src_regs.len - part_index == std.math.divCeil(u32, src_abi_size, 8) catch unreachable);
|
||||
break :part_ty try cg.pt.intType(.unsigned, @as(u16, 8) * @min(src_abi_size, 8));
|
||||
},
|
||||
.vector_type => |vector_type| try cg.pt.vectorType(.{
|
||||
.len = @intCast(@divExact(vector_type.len, src_regs.len)),
|
||||
.child = vector_type.child,
|
||||
}),
|
||||
.opt_type => |opt_child| switch (ip.indexToKey(opt_child)) {
|
||||
else => std.debug.panic("{s}: {f}\n", .{ @src().fn_name, src_ty.fmt(cg.pt) }),
|
||||
.ptr_type => |ptr_info| {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue