broken! added return nodes
This commit is contained in:
parent
f7689a3f54
commit
89e0d41fd9
4 changed files with 173 additions and 20 deletions
2
ir.h
2
ir.h
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue