diff options
| author | Ben Winston | 2023-05-21 13:57:41 -0400 |
|---|---|---|
| committer | Ben Winston | 2023-05-21 13:57:41 -0400 |
| commit | b1183af95f45ba0162a91f7a308a4846418f03be (patch) | |
| tree | 0b01bbb21d733014b01ff8afc99f986c478822a7 /chunk.d | |
| parent | 2ad2be250a68e907b308b120b934edcbfc99ae6e (diff) | |
move to using 2 stacks
Diffstat (limited to 'chunk.d')
| -rw-r--r-- | chunk.d | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -37,12 +37,14 @@ enum OpCode { OP_NEGATE, OP_RETURN, OP_CONSTANT, - OP_DEFINE_GLOBAL, - OP_GET_LOCAL, - OP_SET_LOCAL, + OP_DEF_GLOBAL, OP_GET_GLOBAL, OP_SET_GLOBAL, + OP_DEF_LOCAL, + OP_GET_LOCAL, + OP_SET_LOCAL, OP_POP, + OP_POPB, OP_POP_SCOPE, OP_SUBTRACT, OP_NIL, |
