summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWormHeamer2025-10-27 22:23:34 -0400
committerWormHeamer2025-10-27 22:23:34 -0400
commit2624602b6936f8ea5e060928ee5a5ed3f0f3e453 (patch)
treebbddbd72de73291ece2e7ac29ec4c536462b3bb8
parentd69ebf5d418677e0d24d7a87af975e24be3788af (diff)
remove NodeInputs, NodeOutputs (just NodeList)
-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;