break stack frames into chunks

This commit is contained in:
William Bell
2025-08-05 05:11:09 +01:00
parent c3c41e0336
commit 8ba755aeac
6 changed files with 52 additions and 28 deletions

View File

@@ -19,8 +19,8 @@ typedef struct RuntimeState {
size_t head;
char *path;
StackFrame **currentStackFramePointer;
ArgonObject** call_args;
size_t call_args_length;
ArgonObject*** call_args;
size_t* call_args_length;
} RuntimeState;
typedef struct StackFrame {
@@ -32,6 +32,8 @@ typedef struct StackFrame {
uint64_t depth;
} StackFrame;
#define STACKFRAME_CHUNKS 64
void bootstrap_types();
extern struct hashmap *runtime_hash_table;