diff options
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; |