From 634272f023a3123bc296690bc2dadd874b601ca9 Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Sun, 24 Oct 2021 12:24:29 +0200 Subject: Add OP_GET_GLOBAL and symbol resolution for globals --- src/bytecode/debug.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/bytecode/debug.h') 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[] = { // Load/store ops. [OP_CONSTANT] = "OP_CONSTANT", [OP_DEF] = "OP_DEF", + [OP_GET_GLOBAL] = "OP_GET_GLOBAL", // Arithmetic ops. [OP_SUM] = "OP_SUM", [OP_SUB] = "OP_SUB", -- cgit v1.2.1