diff options
author | Bad Diode <bd@badd10de.dev> | 2021-10-24 12:24:29 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2021-10-24 12:24:29 +0200 |
commit | 634272f023a3123bc296690bc2dadd874b601ca9 (patch) | |
tree | 8cc06b573b71f6014be691eaaf206f3159238609 /src/bytecode/debug.h | |
parent | 8f9a84345c147da5d398331548753d1e350ce846 (diff) | |
download | bdl-634272f023a3123bc296690bc2dadd874b601ca9.tar.gz bdl-634272f023a3123bc296690bc2dadd874b601ca9.zip |
Add OP_GET_GLOBAL and symbol resolution for globals
Diffstat (limited to 'src/bytecode/debug.h')
-rwxr-xr-x | src/bytecode/debug.h | 1 |
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", |