From 60622614731bc42dd44704d3cff55b4e4c4f492c Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Sat, 11 Feb 2023 13:40:10 -0800 Subject: Write a garbage collector. Does it work? No, but it compiles. --- bytecode/encoding.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bytecode/encoding.h') diff --git a/bytecode/encoding.h b/bytecode/encoding.h index 49357f6..fed187b 100644 --- a/bytecode/encoding.h +++ b/bytecode/encoding.h @@ -9,6 +9,8 @@ typedef uint8_t local; +#define NUM_LOCALS 8 + // An arg can be a value or a constant. struct arg { local local; -- cgit v1.3.1