aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode/debug.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/debug.h
parent8f9a84345c147da5d398331548753d1e350ce846 (diff)
downloadbdl-634272f023a3123bc296690bc2dadd874b601ca9.tar.gz
bdl-634272f023a3123bc296690bc2dadd874b601ca9.zip
Add OP_GET_GLOBAL and symbol resolution for globals
Diffstat (limited to 'src/bytecode/debug.h')
-rwxr-xr-xsrc/bytecode/debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bytecode/debug.h b/src/bytecode/debug.h
index 52b237a..dc0585b 100755
--- a/src/bytecode/debug.h
+++ b/src/bytecode/debug.h
@@ -10,6 +10,7 @@ static const char* ops_str[] = {
10 // Load/store ops. 10 // Load/store ops.
11 [OP_CONSTANT] = "OP_CONSTANT", 11 [OP_CONSTANT] = "OP_CONSTANT",
12 [OP_DEF] = "OP_DEF", 12 [OP_DEF] = "OP_DEF",
13 [OP_GET_GLOBAL] = "OP_GET_GLOBAL",
13 // Arithmetic ops. 14 // Arithmetic ops.
14 [OP_SUM] = "OP_SUM", 15 [OP_SUM] = "OP_SUM",
15 [OP_SUB] = "OP_SUB", 16 [OP_SUB] = "OP_SUB",