summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
authorWormHeamer2025-10-27 22:22:41 -0400
committerWormHeamer2025-10-27 22:22:41 -0400
commitd69ebf5d418677e0d24d7a87af975e24be3788af (patch)
treef5a49117f7bca69aa2fa7a6ea6991a2d3b8aa1f9 /ir.h
parent8085cad870f340fabddcf8792353e05d69372968 (diff)
stuffs
Diffstat (limited to 'ir.h')
-rw-r--r--ir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ir.h b/ir.h
index d640f5a..ccc2348 100644
--- a/ir.h
+++ b/ir.h
@@ -31,10 +31,13 @@ typedef struct Type {
} Type;
typedef struct Value {
+ /* TODO: maybe move type to end for alignment reasons */
Type type;
union {
int64_t i;
uint64_t u;
+ /* TODO:
+ * maybe can use a slice instead of dynamic array, save 8 bytes */
DYNARR(struct Value) tuple;
};
} Value;