summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
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;