diff --git a/vm.nim b/vm.nim index 89c323f..85ebe70 100644 --- a/vm.nim +++ b/vm.nim @@ -86,7 +86,7 @@ proc run*(chunk: Chunk): InterpretResult = when profileInstructions: let startTime = getMonoTime() - runtimes[ins].inc + runcounts[ins] += 1f case ins: of opPop: