diff options
Diffstat (limited to 'node.h')
-rw-r--r-- | node.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,6 +1,7 @@ #pragma once #include "type.h" +#include "ir.h" enum node_type { @@ -19,6 +20,7 @@ enum node_type { N_BINOP, // [left] oper [right] N_UNOP, // oper [arg] N_CALL, // name [args] + N_IRINS, // irins }; enum operator { @@ -38,6 +40,7 @@ struct node { char *name; int value; enum operator oper; + struct irins *irins; struct type *valuetype; // filled in by type checker }; |