diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-10-20 21:26:14 +0200 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-10-23 09:27:17 +0200 |
| commit | af1d777b27641e2dedb70d19e3e4f5b04fa62a6e (patch) | |
| tree | ec307648b1243d20ae40334fe2b0a3a9ef7da32c /src/InternPool.zig | |
| parent | 4fa453ce20ceaee254a7d127a4a99be2260ec605 (diff) | |
| download | zig-af1d777b27641e2dedb70d19e3e4f5b04fa62a6e.tar.gz zig-af1d777b27641e2dedb70d19e3e4f5b04fa62a6e.zip | |
std.builtin: add CallingConvention.sh_interrupt
Only supported in CBE.
Diffstat (limited to 'src/InternPool.zig')
| -rw-r--r-- | src/InternPool.zig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/InternPool.zig b/src/InternPool.zig index 05ca2ae2c7..a595fa502c 100644 --- a/src/InternPool.zig +++ b/src/InternPool.zig @@ -12975,6 +12975,11 @@ const PackedCallingConvention = packed struct(u18) { .incoming_stack_alignment = .fromByteUnits(pl.incoming_stack_alignment orelse 0), .extra = @intFromEnum(pl.mode), }, + std.builtin.CallingConvention.ShInterruptOptions => .{ + .tag = tag, + .incoming_stack_alignment = .fromByteUnits(pl.incoming_stack_alignment orelse 0), + .extra = @intFromEnum(pl.save), + }, else => comptime unreachable, }, }; @@ -13014,6 +13019,10 @@ const PackedCallingConvention = packed struct(u18) { .incoming_stack_alignment = cc.incoming_stack_alignment.toByteUnits(), .mode = @enumFromInt(cc.extra), }, + std.builtin.CallingConvention.ShInterruptOptions => .{ + .incoming_stack_alignment = cc.incoming_stack_alignment.toByteUnits(), + .save = @enumFromInt(cc.extra), + }, else => comptime unreachable, }, ), |
