aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode/ops.h
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-10-24 12:24:29 +0200
committerBad Diode <bd@badd10de.dev>2021-10-24 12:24:29 +0200
commit634272f023a3123bc296690bc2dadd874b601ca9 (patch)
tree8cc06b573b71f6014be691eaaf206f3159238609 /src/bytecode/ops.h
parent8f9a84345c147da5d398331548753d1e350ce846 (diff)
downloadbdl-634272f023a3123bc296690bc2dadd874b601ca9.tar.gz
bdl-634272f023a3123bc296690bc2dadd874b601ca9.zip
Add OP_GET_GLOBAL and symbol resolution for globals
Diffstat (limited to 'src/bytecode/ops.h')
-rwxr-xr-xsrc/bytecode/ops.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bytecode/ops.h b/src/bytecode/ops.h
index 63442ac..783d3cf 100755
--- a/src/bytecode/ops.h
+++ b/src/bytecode/ops.h
@@ -5,6 +5,7 @@ typedef enum Ops {
5 // Load/store ops. 5 // Load/store ops.
6 OP_CONSTANT, 6 OP_CONSTANT,
7 OP_DEF, 7 OP_DEF,
8 OP_GET_GLOBAL,
8 // Arithmetic ops. 9 // Arithmetic ops.
9 OP_SUM, 10 OP_SUM,
10 OP_SUB, 11 OP_SUB,