From 2624602b6936f8ea5e060928ee5a5ed3f0f3e453 Mon Sep 17 00:00:00 2001 From: WormHeamer Date: Mon, 27 Oct 2025 22:23:34 -0400 Subject: remove NodeInputs, NodeOutputs (just NodeList) --- ir.h | 5 ++--- 1 file 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; -- cgit v1.2.3