From 89bc739611419ba52a6e6e692e9fd965ffa7d837 Mon Sep 17 00:00:00 2001 From: WormHeamer Date: Tue, 28 Oct 2025 02:08:59 -0400 Subject: remove Node.refs --- ir.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ir.h') diff --git a/ir.h b/ir.h index d10005c..eb9b6b7 100644 --- a/ir.h +++ b/ir.h @@ -110,21 +110,21 @@ typedef struct { } NodeList; typedef struct Node { - int id, refs; union { struct Node *prev_free; struct { - int walked; - NodeType op; - LexSpan src_pos; NodeList in; /* note: index 0 used for control flow */ NodeList out; + int walked; + LexSpan src_pos; union { Type type; Value val; }; }; }; + int id; + NodeType op; } Node; /* convenience macros (lisp-inspired lol) */ -- cgit v1.2.3