From a043f552ddca8d890b14bcddf555472ef69e9014 Mon Sep 17 00:00:00 2001 From: mryouse Date: Fri, 26 May 2023 21:04:49 +0000 Subject: bytecode compilation of map() --- dbg.d | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dbg.d') diff --git a/dbg.d b/dbg.d index 7e92eb5..b9aad21 100644 --- a/dbg.d +++ b/dbg.d @@ -205,6 +205,8 @@ int disassemble(Chunk chunk, int offset) { return simpleInstruction("OP_NIL", offset); case OpCode.OP_JUMP: return jumpInstruction("OP_JUMP", 1, chunk, offset); + case OpCode.OP_JUMP_TO: + return jumpInstruction("OP_JUMP_TO", -1, chunk, offset); case OpCode.OP_JUMP_IF_FALSE: return jumpInstruction("OP_JUMP_IF_FALSE", 1, chunk, offset); case OpCode.OP_JUMP_IF_TRUE: -- cgit v1.2.3