summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'ir.h')
-rw-r--r--ir.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ir.h b/ir.h
index ccc2348..8b963f7 100644
--- a/ir.h
+++ b/ir.h
@@ -101,7 +101,6 @@ typedef enum {
const char *node_type_name(NodeType t);
typedef DYNARR(struct Node *) NodeList;
-typedef NodeList NodeInputs, NodeOutputs;
typedef struct Node {
int id, refs;
@@ -111,8 +110,8 @@ typedef struct Node {
int walked;
NodeType op;
LexSpan src_pos;
- NodeInputs in; /* note: index 0 used for control flow */
- NodeOutputs out;
+ NodeList in; /* note: index 0 used for control flow */
+ NodeList out;
union {
Type type;
Value val;