aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/main.c b/src/main.c
index 5298876..c99ffb8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -28,13 +28,7 @@ int interpret_bytecode(const char *filepath)
vm_t vm = {0};
vm_load_stack(&vm, stack, ARR_SIZE(stack));
vm_load_program(&vm, instructions, number);
- for (size_t i = 0; i < number; ++i)
- {
- vm_execute(&vm);
- printf("Cycle %lu\n", i);
- vm_print_all(&vm, stdout);
- printf("\n");
- }
+ vm_execute_all(&vm);
free(instructions);
return 0;
}