pub fn gepStruct( self: *WipFunction, ty: Type, base: Value, index: usize, name: []const u8, ) Allocator.Error!Value
self: *WipFunction
ty: Type
base: Value
index: usize
name: []const u8
7049 7050 7051 7052 7053 7054 7055 7056 7057 7058
pub fn gepStruct( self: *WipFunction, ty: Type, base: Value, index: usize, name: []const u8, ) Allocator.Error!Value { assert(ty.isStruct(self.builder)); return self.gep(.inbounds, ty, base, &.{ .@"0", try self.builder.intValue(.i32, index) }, name); }