diff options
author | ubq323 <ubq323@ubq323.website> | 2024-06-25 00:51:37 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-06-25 00:51:37 +0100 |
commit | f76f5a8c244ac6d04e4d89778a6d8c2c2040cdc9 (patch) | |
tree | 484b9fea3fa5a136972384239f0890a3886bb5ba /vm.h | |
parent | e9b99a90510309ac4f5d91d4a5138e7a84904057 (diff) |
get functions and arguments and returning to work fully
Diffstat (limited to 'vm.h')
-rw-r--r-- | vm.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -13,7 +13,7 @@ typedef struct _thread Thread; typedef struct { size_t ip; Chunk *ch; - + size_t fp; } StackFrame; #define MAXDEPTH 64 @@ -22,6 +22,7 @@ typedef struct _thread { Chunk *ch; size_t ip; Val stack[STACKSIZE]; + size_t fp; size_t sp; StackFrame rstack[MAXDEPTH]; size_t rsp; |