From d04aea3c5875cd2859d6ab961256b11189c49839 Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Thu, 28 Oct 2021 10:40:22 +0200 Subject: Prepare for closure capture --- src/bytecode/debug.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/bytecode/debug.h') diff --git a/src/bytecode/debug.h b/src/bytecode/debug.h index e34b65f..7078744 100755 --- a/src/bytecode/debug.h +++ b/src/bytecode/debug.h @@ -11,6 +11,8 @@ static const char* ops_str[] = { // Load/store ops. [OP_CONSTANT] = "OP_CONSTANT", [OP_LOCAL] = "OP_LOCAL", + [OP_CAPTURED] = "OP_CAPTURED", + [OP_CAPTURE_LOCAL] = "OP_CAPTURE_LOCAL", [OP_DEF_LOCAL] = "OP_DEF_LOCAL", [OP_SET_LOCAL] = "OP_SET_LOCAL", [OP_DEF] = "OP_DEF", -- cgit v1.2.1