ir done'ish
This commit is contained in:
@@ -251,6 +251,10 @@ pub const Conversion = struct {
|
||||
pub const FieldAccess = struct {
|
||||
base: Ref,
|
||||
field_index: u32,
|
||||
/// The IR type of the aggregate being accessed (struct, union, etc.).
|
||||
/// Used by the LLVM emitter to resolve the correct type for GEP operations
|
||||
/// without guessing from LLVM value chains.
|
||||
base_type: ?TypeId = null,
|
||||
};
|
||||
|
||||
pub const Aggregate = struct {
|
||||
@@ -286,6 +290,9 @@ pub const BuiltinCall = struct {
|
||||
pub const BuiltinId = enum(u16) {
|
||||
out,
|
||||
sqrt,
|
||||
sin,
|
||||
cos,
|
||||
floor,
|
||||
size_of,
|
||||
cast,
|
||||
malloc,
|
||||
|
||||
Reference in New Issue
Block a user