aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode/ops.h
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-10-27 10:43:30 +0200
committerBad Diode <bd@badd10de.dev>2021-10-27 10:43:30 +0200
commitf0cd7a3cab56a6f8d7b4520aaa168a271a94d6d4 (patch)
tree70a5e81b14f0fe65c959d675909ee3aa471f8354 /src/bytecode/ops.h
parent6eed0aa02c657ae97e18280a6dd9d74c84fd91d4 (diff)
downloadbdl-f0cd7a3cab56a6f8d7b4520aaa168a271a94d6d4.tar.gz
bdl-f0cd7a3cab56a6f8d7b4520aaa168a271a94d6d4.zip
Add initial implementation of locals
Diffstat (limited to 'src/bytecode/ops.h')
-rwxr-xr-xsrc/bytecode/ops.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bytecode/ops.h b/src/bytecode/ops.h
index 501a37f..52c774a 100755
--- a/src/bytecode/ops.h
+++ b/src/bytecode/ops.h
@@ -5,6 +5,8 @@ typedef enum Ops {
5 // Load/store ops. 5 // Load/store ops.
6 OP_CONSTANT, 6 OP_CONSTANT,
7 OP_LOCAL, 7 OP_LOCAL,
8 OP_DEF_LOCAL,
9 OP_SET_LOCAL,
8 OP_DEF, 10 OP_DEF,
9 OP_SET, 11 OP_SET,
10 OP_GET, 12 OP_GET,