From e0fe639f0eb49238d9c04d72150a7f2ff0960c56 Mon Sep 17 00:00:00 2001 From: luccie Date: Sun, 10 Aug 2025 22:53:01 +0200 Subject: [PATCH] [MODS/VM]: Remove debugging message --- src/mods/vm.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mods/vm.zig b/src/mods/vm.zig index 9e3e2a0..ae7888b 100644 --- a/src/mods/vm.zig +++ b/src/mods/vm.zig @@ -123,7 +123,7 @@ pub const Runtime = struct { loop: while (frame.program_counter < frame.code.opcodes.len) { const opcode: IR.Opcode = frame.code.opcodes[frame.program_counter]; const index = frame.code.indices[frame.program_counter]; - std.debug.print("Executing at {X} {any} {X}\n", .{frame.program_counter, opcode, if (opcode == IR.Opcode.br_if) @as(i64, @intCast(index.u32)) else -1}); + // std.debug.print("Executing at {X} {any} {X}\n", .{frame.program_counter, opcode, if (opcode == IR.Opcode.br_if) @as(i64, @intCast(index.u32)) else -1}); switch (opcode) { .@"unreachable" => { std.debug.panic("Reached unreachable statement at IR counter {any}\n", .{frame.program_counter}); @@ -656,7 +656,7 @@ pub const Runtime = struct { } switch (f.typ) { .internal => { - std.debug.print("Calling {d}\n", .{function}); + // std.debug.print("Calling {d}\n", .{function}); const ir: IR = f.typ.internal.ir; const function_type = f.func_type; var frame = CallFrame{