diff options
| author | WormHeamer | 2025-10-28 02:08:59 -0400 |
|---|---|---|
| committer | WormHeamer | 2025-10-28 02:08:59 -0400 |
| commit | 89bc739611419ba52a6e6e692e9fd965ffa7d837 (patch) | |
| tree | 394480b4d33d9ca5f67ecf6476d2cb6f985e32d4 /ir.h | |
| parent | 2bbb581678fb4871a4211fc96d12fa69c110b693 (diff) | |
remove Node.refs
Diffstat (limited to 'ir.h')
| -rw-r--r-- | ir.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) */ |
