broken! added return nodes

This commit is contained in:
Lorenzo Torres 2025-12-07 19:54:28 +01:00
parent f7689a3f54
commit 89e0d41fd9
4 changed files with 173 additions and 20 deletions

2
ir.h
View file

@ -27,6 +27,7 @@ typedef enum {
OC_CONST_INT,
OC_CONST_FLOAT,
OC_VOID,
OC_FRAME_PTR,
OC_ADDR,
@ -55,6 +56,7 @@ typedef struct _ir_node {
i64 const_int;
f64 const_float;
symbol_table **symbol_tables;
char *start_name;
} data;
} ir_node;