riscv: update builtin names

This commit is contained in:
David Rubin
2024-03-21 00:18:08 -07:00
parent 2cbd8e1deb
commit 190e7d0239

View File

@@ -1766,8 +1766,8 @@ fn airStructFieldVal(self: *Self, inst: Air.Inst.Index) !void {
if (!field_ty.hasRuntimeBitsIgnoreComptime(mod)) break :result .none;
const field_off: u32 = switch (struct_ty.containerLayout(mod)) {
.Auto, .Extern => @intCast(struct_ty.structFieldOffset(index, mod) * 8),
.Packed => if (mod.typeToStruct(struct_ty)) |struct_type|
.auto, .@"extern" => @intCast(struct_ty.structFieldOffset(index, mod) * 8),
.@"packed" => if (mod.typeToStruct(struct_ty)) |struct_type|
mod.structPackedFieldBitOffset(struct_type, index)
else
0,