aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode/debug.h
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-10-24 12:04:06 +0200
committerBad Diode <bd@badd10de.dev>2021-10-24 12:04:06 +0200
commit8f9a84345c147da5d398331548753d1e350ce846 (patch)
treed9dba538e0c7bc5c2a2e16e0bcbf59167121b9da /src/bytecode/debug.h
parent6e27b20d10306d53cd838ef375fe80571dfe91ff (diff)
downloadbdl-8f9a84345c147da5d398331548753d1e350ce846.tar.gz
bdl-8f9a84345c147da5d398331548753d1e350ce846.zip
Add globals and OP_DEF operation
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 52cf431..52b237a 100755
--- a/src/bytecode/debug.h
+++ b/src/bytecode/debug.h
@@ -9,6 +9,7 @@ size_t disassemble_instruction(Chunk *chunk, size_t offset);
9static const char* ops_str[] = { 9static 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 // Arithmetic ops. 13 // Arithmetic ops.
13 [OP_SUM] = "OP_SUM", 14 [OP_SUM] = "OP_SUM",
14 [OP_SUB] = "OP_SUB", 15 [OP_SUB] = "OP_SUB",